1. Home
  2. Free tools
  3. Compression & caching checker

Compression and caching checker

Test whether a page is compressed with Brotli or gzip, whether static files are cached for long enough, and whether the server speaks HTTP/2 or HTTP/3.

No sign-up.Try:

How to use it

  1. Enter a page address.
  2. Check the compression table: the same page is requested uncompressed, with gzip, Brotli and Zstandard.
  3. Apply the snippet for your server, then test again.

What it checks

  • gzip, Brotli and Zstandard support and the saving each gives
  • Compression of a sample of your own CSS and JavaScript
  • Cache-Control, ETag and Last-Modified on the page and on static files
  • Vary: Accept-Encoding on compressed responses
  • HTTP/2 support and HTTP/3 advertisement

Limits

  • Tests compression and cache headers for the page and a sample of its CSS and JavaScript files, not every file.
  • CDNs can answer differently by location or by the client making the request.
  • Shows whether compression is enabled, not whether your files are already minified.

Public pages only, one page at one point in time. See the methodology and terms.

Frequently asked questions

Which is better, Brotli or gzip?

Brotli usually compresses text 15 to 20 percent better than gzip and every current browser supports it. gzip is universal and a fine fallback. Having at least one of them on is what matters most.

What should the cache lifetime be?

For fingerprinted CSS, JavaScript, fonts and images (names that change when content changes) use a year with immutable. For files with fixed names, a shorter lifetime such as a day plus revalidation. HTML is usually cached briefly or revalidated.

Why is HTTP/2 worth having?

It lets the browser load many files over one connection at the same time. Most hosts and CDNs enable it with a single setting. HTTP/3 builds on it and is advertised through the Alt-Svc header.

Does compressing images help?

Images such as JPEG, PNG and WebP are already compressed, so gzip does little. Compress text: HTML, CSS, JavaScript, JSON and SVG.

What does this tool not show?

It does not dump raw headers or certificate details. For those, use CheckDomainHealth.

My CDN handles this. Should I check anyway?

Yes. CDNs often compress only certain file types, and a cache rule can override your Cache-Control header. This shows what visitors actually receive.

↑ ↓ to moveEnter to openEsc to closeAll results