Performance
How to enable gzip or brotli compression
What 13x checks
This is rule performance.compression in the public registry: Responses are compressed. It runs on every audit, against the pages we actually fetched, and its result is derived from the response rather than estimated.
- Surface
- Performance
- Score weight
- 6 of the readiness score
- Scope
- Runs on every audited page
- Applies
- To every site
Registry version 2026-07-30. Every rule is published, and the audit is deterministic — the same page produces the same finding every time.
The fix
The same text the audit hands you when this check fails on your own site.
The HTML is served uncompressed at bytes. Text compresses by roughly 70%, so this is most of your document transferred for nothing on every request.
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml image/svg+xml;
gzip_min_length 256;
# Better, if the module is available
brotli on;
brotli_types text/plain text/css application/json application/javascript text/xml image/svg+xml;Every CDN and managed host does this by default, so its absence usually means a proxy stripping Accept-Encoding on the way in, or an origin serving directly. Verify:
curl -sI -H "Accept-Encoding: br,gzip" https://example.com | grep -i content-encodingDoes your site have this problem?
13x checks this and 112 others against your live URL in about 30 seconds. No account, and every finding comes with the fix for your framework.
No signup. Results in 30 seconds.
More performance checks
- How to fix render-blocking scriptsNo render-blocking scripts in the head
- How to fix cumulative layout shift from imagesImages declare their dimensions
- How to set Cache-Control on static assetsStatic assets are cacheable
- How to stop web fonts blocking textWeb fonts do not block text
- How to use srcset for responsive imagesImages are served at the size they are displayed
- My HTML document is too largeHTML document is a reasonable size