For more details see the Google Page Speed Optimizer extension page.
Improve your website performance by optimizing the code structure and images and get higher score in Google PageSpeed Insights. Easily optimize JavaScript/CSS and reduce the total size of images with Google Page Speed optimizer.
The extension settings page can be found in Admin Panel → System → Configuration → Google Page Speed Optimizer
Enabled - set to Yes to activate the extension.
There are three JS Minification Levels available: Remove Whitespaces, Simple Code Optimization, Advanced Code Optimization. Please find more details about minification levels here.
With enabled Ignore *.min.js Files option already minified JS files (usually contains “min” in the URL) will be skipped during minification.
Minification Source - You can select the File URL option, in case you want to exclude possible file encoding issues.
Click Run Optimization Process.
Set the option to ‘Yes’ to enable CSS code minification. During the minification process all unnecessary characters like new lines, comments and others will be accurately removed without affecting your source code.
Works the same way as the CSS Minification. Extra white spaces, comments, and formatting will be cleaned off the HTML code.
Add Timestamp To URLs of All CSS/JS Files setting adds timestamp to all JS and CSS files to make browser automatically update cached values once they are changed. Useful with high HTTP cache lifetime values.
In order to improve the loading time of the page, it is recommended to place JavaScript files at the bottom of the page. Enabling Move Javascript to Footer will move all JS scripts to the footer, except scripts from the Ignore List. Replaced analytics scripts can stop working, so it`s a good idea to put them to the exceptions list. In the Ignore URLs field specify relative URLs (like /about-us/). Each URL should be on a separate line.
Large images often increase page loading time. The extension allows optimizing images without losing the quality.
Usually, store owners or admins don`t have enough permissions to install software on the server. So it`s time to contact hosting company or system administrator.
Enable the Automatically Optimize Product Images option to compress on the fly all product images generated by Magento.
Command For Optimization setting allows to set the level of JPG image optimization: 100% / 90% / 80% quality. It is possible to find the necessary correlation between image quality and image weight.
In this tab you can control all errors happening during optimization via the option Write Minification Errors To Log File.
The log file is situated here: MAGENTO_ROOT/var/log/system.log.
To optimize images stored in skin and media folders you need to enter your server via ssh, open Magento root directory and run the command:
php -f shell/amoptimization.php -- optimize
The extension can help to solve the following issues (click on the issue to find the solution):
Unfortunately, there is no clear answer, as there are a lot of circumstances.
You can check your site in PageSpeed Insights tool to find the list of problems on your site and compare it with the list of the issues our extension can help with.
Yes, the extension is fully compatible with the native Magento JS/CSS merge functionality.
Please check if the cron job is running and if there is direct access to the Magento from the internet, as the external minification tool is used.
Please note, some time for js minification is needed (approximately 1 hour).
Please make sure you followed both product images optimization and theme images optimization guides.
The issue can be caused as well by using large source images – the image shown on the front end is much smaller than the original file. Resizing of the original images can solve such issues.
1. Remove the following files:
2. In the database:
3. Flush Magento Cache in Admin Panel.