Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Manage Gzip / Brotli compression
This guide explains how to enable the compression of your resources (CSS, HTML, JSON, JS) to speed up the loading of your Web Hosting.
Preamble
- By compressing your files, you reduce their size by up to 70%, which decreases the transfer time to your visitors' browsers.
- Display speed is a major criterion for search engines like Google.
- The Infomaniak Manager takes care of modifying your
.htaccessand.user.inifiles.- A backup copy is automatically created for security.
- The modification can take up to 5 minutes to propagate across the entire infrastructure.
Enable Gzip / Brotli compression
The procedure via the Manager enables the most efficient compression algorithms supported by your browser (Gzip or Brotli) :
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site in question.
- Click on Advanced in the left sidebar.
- Click on the Apache tab:

- Enable the File Compression option.
- Click on Save at the bottom of the page:

Check if the compression header is active
Once enabled, your server will send an HTTP header Content-Encoding: gzip (or br for Brotli). You can test your site with these tools:
- Google PageSpeed Insights (recommended for a complete analysis).
- GiftOfSpeed Gzip/Brotli Test (modern and fast tool).
- Browser Inspector: press
F12> Network tab > Click on your page > Check the response headers.
Link to this FAQ:
Has this FAQ been helpful?