Compression (Brotli / Gzip)
Sitecheck Team
Server-side encoding that reduces text-based file transfer sizes for faster page loads.
HTTP compression reduces the size of text-based responses (HTML, CSS, JavaScript, JSON) before sending them over the network. The two main algorithms are Gzip (universally supported) and Brotli (newer, typically 15–25% better compression ratio than Gzip at comparable speeds).
Why it matters: Compression can reduce response sizes by 60–80%, directly improving TTFB, LCP, and overall page load time at minimal server cost.
Quick tips:
- Enable Brotli with a Gzip fallback — most modern servers and CDNs support both.
- Only compress compressible types: avoid compressing already-compressed formats like JPEG, PNG, WebP, or WOFF2.
- Verify compression is active by checking the
Content-Encoding: brorContent-Encoding: gzipresponse header.