Shopify HTML compression and the Core Web Vitals

Brotli (br), Gzip, Zstandard (zstd), or uncompressed HTML: how document compression affects Time to First Byte (304 ms on Brotli vs 375 ms on Gzip) and Largest Contentful Paint.

Field data PhoneDesktopAll Scope All sites October 2026 edition · Desktop field outcomes · Shopify sites only
Shopify Scoped to 8,248 sites out of 203,892 analyzed (cms) Compare with all sites →

3.8% of Shopify sites have no HTML compression. Of the 96.2% that do, 98% use Brotli, and 97% of those sites have a good LCP, against 97% of all Shopify sites.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
1

LCP pass rate

Sites with Brotli HTML compression have a good LCP most often: 97%, against 97% of all Shopify sites.

SitesGood, needs improvement, poor LCPMedian
All Shopify sites3,81897%1.3s
Uncompressed (none) 3.8%13899%1.3s
Brotli (br) 94.7%3,59697%1.3s
Zstandard (zstd) 0.7%4395%1.5s
Gzip 0.8%4188%1.8s
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
2

HTML compression usage

96.2% of Shopify sites use HTML compression, and 98% of those use Brotli.

All Shopify sites 8,246 sites
HTML compression 96.2%
Sites with HTML compression 7,935 sites
Brotli (br) 98.4%
Brotli (br) 98.4% Gzip 0.9% Zstandard (zstd) 0.7%
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
3

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 element render delay: 303 ms median for Brotli against 338 ms for no. Overall median field LCP is 1.3s for Brotli (TTFB 304 ms, load delay 628 ms, load duration 153 ms, render delay 303 ms) versus 1.3s for no.

Median LCP phase breakdown (Chrome field p75) Load delay Median LCP
All Shopify sites 3,127305 ms630 ms304 ms630 mslab 620 ms1.3s
Uncompressed (none) 119302 ms622 ms338 ms622 mslab 576 ms1.3s
Brotli (br) 2,936304 ms628 ms303 ms628 mslab 619 ms1.3s
Gzip 35375 ms710 ms294 ms710 mslab 716 ms2.0s
Zstandard (zstd) 37326 ms746 ms291 ms746 mslab 750 ms1.6s
TTFB Resource load delay Resource load time Element render delay
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
4

HTML compression per framework

Vue sets the HTML compression to Brotli on 95% of its sites, and 97% of Vue sites have a good LCP, against 97% of all sites.

FrameworkHTML compression on its sitesGood LCP
All Shopify sites 8,246 sitesBrotli (br) 95%97%
Vue 933 sitesBrotli (br) 95%97%
jQuery 3,153 sitesBrotli (br) 95%95%
Brotli (br) Uncompressed (none) Gzip Zstandard (zstd)
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
5

HTML compression or the framework

Does the framework explain the HTML compression difference?

On jQuery, 95% of sites with Brotli HTML compression have a good LCP, against 98% of jQuery sites with no. Within jQuery, sites with Brotli and no 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 304 ms median TTFB and 1.3s median LCP, compared with 375 ms TTFB and 1.8s LCP on Gzip.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
6

Understanding HTML document compression

Enable Brotli (br) compression on your HTML responses and keep Gzip as a fallback. Across all audited sites, 94.7% serve Brotli-compressed HTML and reach 97% good LCP (1.3s median), beating Gzip (0.8% of sites, 88% good LCP) and uncompressed HTML (3.8% of sites, 99% good LCP). For dynamic HTML generated on the fly, Brotli quality level 4 or 5 compresses faster AND smaller than Gzip level 6 without adding server CPU delay.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field dataBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals HTTP protocol mix → Connection hints → Cache strategy mix → Uncompressed text responses → By Arjen Karel · 8,246 crawled Shopify sites (3,818 with desktop Chrome field data, October 2026) · How we measured