Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Support for Gzip Compression
This guide explains how to enable compression for css, html, json, xml etc. resources on the Web Hosting of your choice.
This will reduce the size of the resources loaded by your visitors, resulting in faster loading times for your web pages.
Compress files with Gzip
To enable compression with Gzip:
- 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).
- Choose Website (in the Web & Domain universe).
- Click on the name of the relevant item in the displayed table.
- Click on the Advanced settings button.
- Click on the APACHE tab.
- Enable the File Compression option.
- Click the blue Save button.
It is possible to disable file compression by clicking again on the activation button.
The .htaccess and .user.ini files will be automatically updated with the necessary directives. As a security measure, a backup copy of these two files is made with each change. Any modification may take several minutes to take effect.
Test compression
You can easily test the compression of your pages using tools like:
Link to this FAQ: