Audit your website's HTTP compression status. Test if GZIP or Brotli is active, calculate bandwidth savings, and inspect server compression headers instantly.
GZIP is an open-source file compression algorithm designed to reduce the file size of HTTP network responses (such as HTML documents, CSS stylesheets, JavaScript files, and JSON API payloads). When a web browser requests an asset from an HTTP web server, it sends an Accept-Encoding: gzip, deflate, br header indicating it can decompress zipped streams.
By compressing text files before sending them over the internet, GZIP typically shrinks payload file sizes by 70% to 85%. This dramatically accelerates page load times, improves Google Core Web Vitals (specifically Largest Contentful Paint / LCP), and saves web hosting bandwidth costs.
On Apache web servers running mod_deflate, you can enable GZIP compression by adding the following rules into your root .htaccess file:
On Nginx servers, add or verify the following directives inside your nginx.conf or site configuration block:
br) is a newer compression algorithm developed by Google that offers roughly 15% to 20% better compression density than GZIP on HTML, CSS, and JavaScript text. Modern web servers and CDNs (like Cloudflare) automatically serve Brotli to compatible browsers and fall back to GZIP for legacy clients.
Fast review — stays on this site