Craftora
WarningTechnical

Text Compression Not Enabled: How to Fix It

The server sends HTML without gzip or Brotli compression.

Quick fix: Enable gzip or Brotli compression on your server. It usually shrinks HTML, CSS, and JS by 70% or more.

Why it matters for SEO

Compression usually shrinks text files by 70% or more, making pages load much faster on every connection.

How to fix it

  1. 1Enable gzip or Brotli in your web server (Nginx gzip on;, Apache mod_deflate, or your CDN settings).
  2. 2Compress HTML, CSS, JavaScript, JSON, SVG, and XML.
  3. 3Re-run the audit to confirm the Content-Encoding header.

Example

# Nginx
gzip on;
gzip_types text/html text/css application/javascript application/json image/svg+xml;

Frequently asked questions

Gzip or Brotli?

Brotli compresses better and is supported by all modern browsers. Gzip is a fine fallback.

Should I compress images too?

Images are already compressed formats. Optimize them separately instead.

Does your website have this issue?

Run a free SEO audit to check this and 40+ other issues in seconds.