Loading…
Compress text responses (HTML, CSS, JS) so they transfer 60-80% smaller.
Text-based files compress extremely well. Enabling Brotli or Gzip on the server cuts transfer size by 60-80% with no change to your code — one of the highest-leverage performance wins available.
content-encoding: br (or gzip) for HTML/CSS/JS.# nginx: no compression configured# nginx
gzip on;
gzip_types text/css application/javascript application/json image/svg+xml;
brotli on;
brotli_types text/css application/javascript application/json;Most managed hosts enable this by default. If not, a caching plugin or your host's control panel can turn on Gzip/Brotli.
Next.js gzip-compresses by default; if you sit behind nginx/Cloudflare, enable Brotli there instead.
Run a free audit and get a prioritized fix list with auto-generated code.
Run a free audit