HTTP status codes for SEO & link checks

HTTP Content-Encoding (Brotli & Zstandard)

HTTP compression header negotiating modern lossless compression algorithms—Brotli (br) and Zstandard (zstd)—between servers/CDNs and browsers or crawlers, shrinking HTML, CSS, JS and JSON transfer payloads.

Verified

Syntax / Example

Content-Encoding: br
Vary: Accept-Encoding

Verify On A Live URL

curl -sI -H "Accept-Encoding: br, gzip" https://example.com/ | grep -i "content-encoding"

Documented Facts For HTTP Content-Encoding (Brotli & Zstandard)

Metric or RuleDocumented ValueSource
Googlebot compression supportSupports gzip, deflate & Brotli (br) nativelyGoogle: Large Site Crawl Budget GuideChecked November 25, 2026
Typical savings vs gzip~14%–21% smaller text/HTML/CSS/JS payloadsweb.dev: Preload Critical Assets & LCP OptimizationChecked November 27, 2026
Required companion headerVary: Accept-EncodingRFC 9110: HTTP SemanticsChecked November 25, 2026

Official Specification & Google Behavior

Googlebot and all modern browsers advertise Accept-Encoding: gzip, deflate, br (with Chrome and major CDNs also supporting zstd). Googlebot handles Brotli natively without extra configuration.

SEO & Indexing Impact

Smaller compressed HTML and CSS/JS bundles cut mobile download latency on 4G connections, directly improving LCP and allowing Googlebot to download more pages per second.

Backlink Monitoring Verdict
Zero effect on link attributes—remember to pass --compressed in curl commands when piping raw compressed HTML into grep.

Common Pitfalls

  • Forgetting --compressed when running curl scripts against Brotli/gzip endpoints, resulting in unreadable binary output.
  • Compressing already-compressed image formats (WebP, AVIF, PNG) on the origin CPU, wasting compute with zero byte savings.

Frequently Asked Questions

Does Googlebot support Brotli (br) compression?
Yes, Googlebot supports Brotli (br) compression natively alongside gzip and deflate.
Why does curl print garbled binary characters when I test Content-Encoding: br?
Pass curl -sL --compressed so curl automatically decompresses gzip or Brotli streams before printing HTML.
Does Brotli improve Core Web Vitals?
Yes, cutting HTML, CSS and JavaScript transfer bytes speeds up resource load delay and improves mobile LCP.

Primary Sources

Verified

Related Research Guides