Shopify HTML compression and the Core Web Vitals

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

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

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

LCP pass rate

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

SitesGood, needs improvement, poor LCPMedian
All Shopify sites8,06296%1.3s
Brotli (br) 94.7%7,63396%1.3s
Uncompressed (none) 3.8%30595%1.4s
Zstandard (zstd) 0.7%5594%1.6s
Gzip 0.8%6984%1.8s
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 8,062 with all devices 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 · 8,062 with all devices 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: 294 ms median for Brotli against 349 ms for no. Overall median field LCP is 1.3s for Brotli (TTFB 389 ms, load delay 589 ms, load duration 209 ms, render delay 294 ms) versus 1.3s for no.

Median LCP phase breakdown (Chrome field p75) Load delay Median LCP
All Shopify sites 6,992389 ms589 ms208 ms298 ms589 mslab 589 ms1.3s
Uncompressed (none) 271401 ms550 ms194 ms349 ms550 mslab 550 ms1.3s
Brotli (br) 6,616389 ms589 ms209 ms294 ms589 mslab 589 ms1.3s
Gzip 57464 ms665 ms205 ms308 ms665 mslab 665 ms1.9s
Zstandard (zstd) 48372 ms691 ms187 ms325 ms691 mslab 691 ms1.6s
TTFB Resource load delay Resource load time Element render delay
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 8,062 with all devices 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 95% of Vue sites have a good LCP, against 96% of all sites.

FrameworkHTML compression on its sitesGood LCP
All Shopify sites 8,246 sitesBrotli (br) 95%96%
Vue 933 sitesBrotli (br) 95%95%
jQuery 3,153 sitesBrotli (br) 95%94%
Brotli (br) Uncompressed (none) Gzip Zstandard (zstd)
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 8,062 with all devices 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, 94% 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 389 ms median TTFB and 1.3s median LCP, compared with 464 ms TTFB and 1.8s LCP on Gzip.

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