Gzip or Brotli compression disabled on the server
The server does not compress its HTTP responses. HTML, CSS and JavaScript are sent without compression, unnecessarily increasing each request.
Why it matters
Enabling compression reduces text file sizes by 60-80%. A 100KB HTML becomes 20KB: direct gain on FCP and LCP.
How to fix
- 1
Enable Gzip via .htaccess (Apache)
apache<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml AddOutputFilterByType DEFLATE text/css text/javascript application/javascript AddOutputFilterByType DEFLATE application/json application/xml application/xhtml+xml AddOutputFilterByType DEFLATE image/svg+xml font/woff font/woff2 </IfModule> - 2
Enable Gzip via Nginx
nginxgzip on; gzip_types text/plain text/css application/json application/javascript text/xml application/xml image/svg+xml; gzip_min_length 1000; gzip_comp_level 6; - 3
Enable Brotli via Nginx (recommended)
nginxbrotli on; brotli_types text/plain text/css application/json application/javascript text/xml image/svg+xml; brotli_comp_level 6; - 4
Verify active compression
bashcurl -H "Accept-Encoding: gzip,br" -I https://yoursite.com | grep -i "content-encoding"
Ready to fix this issue on your site?
Audit my site for free →