Monitoring

    Gzip / Brotli compression check

    Verifies your server compresses HTML, CSS, JS, and JSON responses — up to 80% payload reduction that costs nothing to enable.

    Updated 2026-07-10
    1 min read
    compression
    gzip
    brotli

    Quick answer#

    We send Accept-Encoding: br, gzip, deflate and check which encoding your server picks. Uncompressed text responses fail.

    What it checks#

  1. HTML, CSS, JS, JSON, SVG served compressed
  2. Brotli preferred (bonus)
  3. Compression ratio ≥60%
  4. Compression NOT applied to images/video (which are already compressed)
  5. Where to find it in Lemwatch#

    Site details → Performance → Compression.

    How to fix#

  6. Enable gzip in your web server config.
  7. Add Brotli for another 15-20% savings.
  8. Set compression on text/* and application/json, javascript, xml.
  9. Re-run the check.
  10. FAQ#

    Should I compress at the CDN or origin?#

    CDN — cached compressed variants are cheapest.

    Is Brotli safe?#

    Yes — supported by every modern browser since 2017.

  11. Performance budgets
  12. Core Web Vitals
  13. Cache-Control header check
  14. Was this article helpful?