1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Enabling Google PageSpeed Tools
The Google PageSpeed Insights tool allows you to measure a page's loading time on mobile and desktop devices while Google's PageSpeed Tools module is an Open Source library whilch allows you to optimise a site on the server thanks to over 40 filters which follow good practices recommended by Google. To find out more
Infomaniak only manages PageSpeed Tools module activation. If you have a problem with Apache server responses or incompatibility with your Web applications, our support team will not be able to help you (to find out more).
Installing PageSpeed Tools
To enable Google PageSpeed Tools on a Web or Classic hosting or a managed Cloud Server:
- open the Manager (manager.infomaniak.com)
- go to Hosting
- Under Sites, click on the domain name of the site concerned
- enable the Module Google PageSpeed option
Configuration enabled by default
A cache system is also in place for site files. It is updated every 15 minutes.
If necessary, you can customize some directives using the .htaccess file for the site: https://modpagespeed.com/doc/configuration#htaccess
But be careful: according to this Google thread and this discussion unfortunately mod_pagespeed does not consider directives in a ".htaccess" file when accessing a dynamic file. In order to not/no longer have mo_pagespeed it must be disabled from the Manager.
Apart from this, it is not unusual after installing PageSpeed for warnings to appear:
"By default, mod_pagespeed will fetch css/js/images using http. If the webserver doesn't respond within 50ms (by default), it will abort the request, and log the timeout messages you are seeing..."
In a shared environment, it is not worrying or unusual to go slightly over the 50 ms response time.