1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Activating Google PageSpeed Tools
This guide explains how to install the PageSpeed Insights tool on an Infomaniak Web Hosting.
The PageSpeed Insights tool from Google allows you to measure the loading time of a page on both mobile and desktop devices, while Google's PageSpeed Tools module is an open-source library that optimizes a site on the server using over 40 filters that correspond to best practices recommended by Google. Learn more
Install PageSpeed Tools
To activate Google's PageSpeed Tools:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- Click on the icon in the top right corner of the interface (or navigate through the left side menu, for example)
- Select Website (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
- Click on Advanced settings
- Click on the Apache tab
- Activate the Google Page Speed Optimization option
Default Configuration Enabled
ModPagespeedEnableFilters combine_css
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters rewrite_css
ModPagespeedEnableFilters rewrite_javascript
ModPagespeedEnableFilters combine_javascript
ModPagespeedEnableFilters pedantic
ModPagespeedEnableFilters remove_comments
A caching system is also set up for site files. This is updated every 15 minutes.
If needed, it is possible to customize certain directives via the site's .htaccess file: https://modpagespeed.com/doc/configuration#htaccess
But beware, according to this Google thread and this discussion, unfortunately mod_pagespeed does not take into account directives in a ".htaccess" file when accessing a dynamic file. To no longer have mod_pagespeed, it must be disabled from the Manager.
Known Incompatibilities
- ownCloud
- WP Rocket
Furthermore, it is not abnormal if warnings appear after installing PageSpeed:
"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 abnormal to slightly exceed the 50ms response time.