Peakhour integrates Google's Pagespeed module to optimise your website's resources. Settings for your site are available by clicking on the "Page Speed" link in your domain dashboard.
Pagespeed has many filters that can be applied to your website, it could be a bit overwhelming, luckily we've made two sensible presets:
Optimise Resources Only
Depending on the origin site there can be significant reductions in transfer size with almost zero risk of page functionality breaking. The filters applied are:
Rewrite HTML and optimise resources
This option will include everything from the Optimise Resources option and adds:
These filters carry a small risk of breaking website functionality so its worth testing your site thoroughly before permanently enabling.
If your page includes resources from another domain, eg fonts.google.com, then you can enter the domain name here to enable pagespeed to also cache/rewrite content to further speed up your site.
Pagespeed can further be customised using directives, enter one directive per line. These are very advanced options and are not generally recommended without the assistance of a Peakhour support person.
For more information on the available directives check out the mod pagespeed documentation.
Note that the official documentation presents two ways of making directives, eg:
ModPagespeedJpegQualityForSaveData 85 (for apache)
pagespeed JpegRecompressionQuality 85; (for nginx)
when entering the directive in the pagespeed options you can take the nginx format and remove pagespeed from the front, eg:
You may customise the pagespeed filters for your site by clicking on the Filters tab