Deployment
Integrating SpeedSize with your Magento website is easy, thanks to our native Magento extension.
Note: We recommend deploying SpeedSize on a staging environment and performing sanity tests before moving to production.
Below is a step-by-step guide to deploy the extension.
- Run the following commands under your Magento root directory:
composer require speedsize/magento2-module
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable
php bin/magento cache:flush - Once the module is installed, follow these steps:
- Log in to the Magento admin panel and navigate to Stores > Configuration > SpeedSize > Settings.
- In the SpeedSize settings page, make the following configurations:
-
Enable Neuroscience Media Optimization: Select Yes from the dropdown to activate SpeedSize.
-
SpeedSize ID: Enter your unique Client ID provided via email.
-
- Leave other settings at their default values.
- Click Save Config in the top right corner.
Don't forget to clear your Magento cache to apply the changes. It can be done in System > Tools > Cache Management.
That’s it! SpeedSize will begin processing your media files. Processing typically takes 10-30 minutes, depending on media size. To verify that SpeedSize is integrated correctly and your images are being processed, please refer to this instruction.
Next Steps
To ensure you achieve the best possible results and maximize the impact of SpeedSize, please follow the instructions in our SpeedSize Advanced Integration Guide.