Google PageSpeed Option
- How does Google PageSpeed work?
- How to enable Google PageSpeed?
- How to flush Google PageSpeed cache?
- Advanced Google PageSpeed configuration
You can enable Google PageSpeed from the SuperCacher tool in your cPanel. There, you need to turn the module on, from the Google PageSpeed tab:
Next, switch PageSpeed on by clicking on the button next to the desired domain name:
Regular hosting companies allow you only one way of flushing the PageSpeed cache - through console for the entire server. We at SiteGround, however, have developed a special technique that provide you with an easy and flexible method for clearing your cache. You can either clear the master cache for your entire account, or you can clear it on per domain basis.
To access the advanced PageSpeed configuration, press the Advanced button next to a domain name that you've activated the service for.
A pop-up will appear with few lines in it. Those are the currently active PageSpeed rules.
By default, you will have four rules added:
- ModPagespeed On - this line starts the PageSpeed module
- ModPagespeedDomain yourdomain.com - this line defines your domain
- ModPagespeedEnableFilters extend_cache - this is a complex rule that enables three different optimizations:
- CSS Optimization
- Images Optimization
- ModPagespeedFileCachePath /home/user/.pagespeed_cache/yourdomain.com - the path to the PageSpeed cache file
Google PageSpeed has more than 40 different optimization filters. For detailed information on each one of them, please visit the official Google documentation page.
Important: note that each time you disable Google PageSpeed, all your custom filters will be reset. Do not forget that if you switch on Static or Dynamic cache, Google PageSpeed will be disabled automatically, and all custom settings will be lost. We recommend that you keep a copy of any custom optimization filters you want to use.