WordPress HTML compression (Brotli vs Gzip) and the Core Web Vitals
Brotli (br), Gzip, Zstandard (zstd), or uncompressed HTML: how document compression affects Time to First Byte (933 ms on Brotli vs 1231 ms on Gzip) and Largest Contentful Paint.
One in ten WordPress sites, 12.3%, have no HTML compression. Of the 87.7% that do, 36% use Brotli, and 78% of those sites have a good LCP, against 70% of all WordPress sites.
LCP pass rate
Sites with Brotli HTML compression have a good LCP most often: 78%, against 70% of all WordPress sites. Sites with Gzip HTML compression have it least often, at 66%.
HTML compression usage
Nine in ten WordPress sites uses HTML compression, and 57% of those use Gzip. Brotli is 36% of the sites with HTML compression, 31.4% of all WordPress sites.
Where HTML compression shows up in the four LCP phases
Across the four LCP sub-parts in Chrome's field data, the largest gap between Brotli and no sits in time to first byte (TTFB): 933 ms median for Brotli against 1244 ms for no. Overall median field LCP is 1.8s for Brotli (TTFB 933 ms, load delay 343 ms, load duration 193 ms, render delay 236 ms) versus 2.1s for no.
HTML compression per framework
On jQuery, 51% of sites use Gzip HTML compression, and 69% of jQuery sites have a good LCP, against 70% of all sites. On Vue, 56% of sites use Gzip, and 67% of Vue sites have a good LCP.
HTML compression or the framework
Does the framework explain the HTML compression difference?
On jQuery, 66% of sites with Gzip HTML compression have a good LCP, against 63% of jQuery sites without HTML compression. Within jQuery, sites with Gzip HTML compression have a good LCP more often. On Vue, 65% of sites with Gzip HTML compression have a good LCP, against 60% of Vue sites without HTML compression. Within Vue, sites with and without HTML compression have a good LCP about equally often.
Why Brotli HTML compression speeds up resource discovery
Brotli uses a built-in dictionary of common HTML, CSS, and JavaScript tokens, shrinking HTML documents 15 to 20 percent more than Gzip at comparable CPU cost. Because the browser's preload scanner parses the HTML stream chunk by chunk as it arrives, a smaller compressed document delivers the <head> and hero <img> markup in fewer TCP or QUIC packets. Sites serving Brotli HTML record a 933 ms median TTFB and 1.8s median LCP, compared with 1231 ms TTFB and 2.0s LCP on Gzip.
Understanding HTML document compression
Enable Brotli (br) compression at your web server (Nginx, LiteSpeed, Caddy) or edge CDN. 50.2% of WordPress sites still compress HTML with legacy Gzip (66% good LCP, 2.0s median LCP) and 12.3% send uncompressed HTML (64% good LCP). WordPress sites serving Brotli HTML reach 78% good LCP and a 1.8s median LCP.
By Arjen Karel · 63,295 crawled WordPress sites (36,524 with phone Chrome field data, 63,291 sites with HTML compression, October 2026). How we measured.