Magento 2 Google Page Speed Optimizer v1.x Uninstalling

Here you will learn how to easily remove the Google Page Speed Optimizer extension from your Magento.

Step 1. Switch to your Magento 2 root directory in the terminal

cd /FULL_PATH_TO_YOUR_MAGENTO2

where “FULL_PATH_TO_YOUR_MAGENTO2” is the path to your Magento 2 folder on your server.

Step 2. Disable the extension:

bin/magento module:disable Plumrocket_GooglePageSpeedOptimizer

Step 3. Remove the extension files

For Composer installation
composer remove plumrocket/module-google-page-speed-optimizer
For non-Composer installation
rm -rf app/code/Plumrocke/GooglePageSpeedOptimizer

Step 3. Update static resources

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush

At this point, the Google Page Speed Optimizer Magento 2 extension has been successfully removed from your server.

Was this article helpful?