Performance check
Text compression
Reads the Content-Encoding header of the HTML response.
- Category
- Performance
- Importance
- High importance
- Check id
- text-compression
How the result is decided
- Passgzip, Brotli (br), deflate or zstd.
- FailThe HTML is sent uncompressed.
- InfoThe HTML is under 1 KB, too small for compression to matter.
“Info” results don’t count toward the score.
Why it matters
Compression usually makes HTML 70–90% smaller, so it arrives faster, especially on mobile connections.
How to fix it
- Nginx:
gzip on;(andgzip_typesfor CSS and JavaScript), or the Brotli module. - Apache: enable
mod_deflateormod_brotli. - Most CDNs compress automatically once the site is behind them.
After the fix, open the page’s report and choose Run again to confirm it passes.