Compression (Gzip/Brotli)
Checks if the server compresses text responses.
¿Por qué importa esto?
Gzip compression typically reduces HTML size by 60-80%. Brotli is another 15-20% more efficient. Without compression, the server sends unnecessarily large files, increasing load time and bandwidth costs.
¿Cómo se soluciona?
Enable Gzip or Brotli on your web server. Apache: mod_deflate or mod_brotli. Nginx: gzip on; or brotli on;. Cloudflare enables this automatically. Check the Content-Encoding response header to confirm.
Este check puntúa de 0 a 100. Bajo 50 es un fallo, 50 a 89 un aviso, 90 o más es bueno. Tras cada crawl ve la nota por página en el informe, con una breve explicación.
Preguntas frecuentes
Checks if the server compresses text responses.
Gzip compression typically reduces HTML size by 60-80%. Brotli is another 15-20% more efficient. Without compression, the server sends unnecessarily large files, increasing load time and bandwidth costs.
Enable Gzip or Brotli on your web server. Apache: mod_deflate or mod_brotli. Nginx: gzip on; or brotli on;. Cloudflare enables this automatically. Check the Content-Encoding response header to confirm.
Ejemplo
Copie el código de abajo y adapte el dominio, la marca y el contenido a su situación.
# Nginx: Brotli (best) + Gzip (fallback)
brotli on;
brotli_comp_level 6;
brotli_types text/html text/css application/javascript application/json image/svg+xml;
gzip on;
gzip_comp_level 5;
gzip_vary on;
gzip_types text/html text/css application/javascript application/json;
# Apache .htaccess
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/css application/javascript application/json
</IfModule>