Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Gzip compression support
This guide explains how to enable the compression of css, html, json, xml, etc. resources on the website of your choice. This way, you will reduce the size of the resources to be downloaded by your visitors, which will reduce the loading time of your Web pages.
Compressing files with Gzip
To enable compression with Gzip:
- Open the Manager (manager.infomaniak.com)
- Go to Web Hosting
- Click the hosting/domain name concerned
- Under Sites, click the site/domain name concerned
- Click Advanced Settings
- Select the APACHE tab
- Enable the File compression option
It is possible to disable file compression by clicking the enable button again.
The .htaccess and .user.ini files will be automatically updated with the necessary instructions. As a security measure, a backup copy of these two files is made every time there is a change. Any modification may take several minutes to become effective.
Testing compression
You can easily test the compression of your pages with tools such as...
- http://www.whatsmyip.org/http-compression-test/
- http://www.gidnetwork.com/tools/gzip-test.php
- https://developers.google.com/speed/pagespeed/insights/
Link to this FAQ: