Shopify HTML compression and the Core Web Vitals

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

Field data PhoneDesktopAll Scope All sites October 2026 edition · Phone 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 95% of those sites have a good LCP, against 95% of all Shopify sites.

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

LCP pass rate

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

SitesGood, needs improvement, poor LCPMedian
All Shopify sites5,82595%1.4s
Brotli (br) 94.7%5,50495%1.3s
Uncompressed (none) 3.8%22694%1.5s
Zstandard (zstd) 0.7%4593%1.7s
Gzip 0.8%5080%2.0s
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 5,825 with phone 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 · 5,825 with phone 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: 309 ms median for Brotli against 381 ms for no. Overall median field LCP is 1.4s for Brotli (TTFB 401 ms, load delay 590 ms, load duration 206 ms, render delay 309 ms) versus 1.4s for no.

Median LCP phase breakdown (Chrome field p75) Load delay Median LCP
All Shopify sites 5,048402 ms590 ms206 ms312 ms590 mslab 596 ms1.4s
Uncompressed (none) 202411 ms556 ms196 ms381 ms556 mslab 562 ms1.4s
Brotli (br) 4,767401 ms590 ms206 ms309 ms590 mslab 596 ms1.4s
Gzip 41447 ms684 ms219 ms319 ms684 mslab 691 ms2.0s
Zstandard (zstd) 38378 ms726 ms195 ms361 ms726 mslab 708 ms1.7s
TTFB Resource load delay Resource load time Element render delay
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 5,825 with phone 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 94% of Vue sites have a good LCP, against 95% of all sites.

FrameworkHTML compression on its sitesGood LCP
All Shopify sites 8,246 sitesBrotli (br) 95%95%
Vue 933 sitesBrotli (br) 95%94%
jQuery 3,153 sitesBrotli (br) 95%93%
Brotli (br) Uncompressed (none) Gzip Zstandard (zstd)
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 5,825 with phone 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, 93% of sites with Brotli HTML compression have a good LCP, against 92% 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 401 ms median TTFB and 1.3s median LCP, compared with 447 ms TTFB and 2.0s LCP on Gzip.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 5,825 with phone 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 95% good LCP (1.3s median), beating Gzip (0.8% of sites, 80% good LCP) and uncompressed HTML (3.8% of sites, 94% 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 · 5,825 with phone 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 (5,825 with phone Chrome field data, October 2026) · How we measured