Base de conhecimento

1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!

Manage Gzip compression

This guide explains how to enable compression for your resources (CSS, HTML, JSON, JS) to speed up the loading of your Web Hosting.

 

Introduction

  • By compressing your files, you reduce their size, which decreases the transfer time to your visitors' browsers.
  • Fast loading speed is a major criterion for search engines like Google.
  • The Infomaniak Manager handles modifying your .htaccess and .user.ini files.
    • A backup copy is created automatically for security purposes.
    • The modification may take up to 5 minutes to propagate across the entire infrastructure.

 

Enable Gzip compression

The procedure via the Manager activates one of the most efficient compression algorithms supported by your browser:

  1. Click here to access the hosting & website management section in your Infomaniak Manager (❓: help).
  2. Click on the name of the website in question.
  3. Click on Advanced in the left-hand menu.
  4. Click on the Apache tab:
  5. Enable the File Compression option.
  6. Click on Save at the bottom of the page:

 

Check if the compression header is active

Once activated, your server will send an HTTP header Content-Encoding: gzip. You can test your site with these tools:


Esta seção de perguntas frequentes foi útil?