Performance

GZIP / Brotli Compression

GZIP and Brotli are server-side compression algorithms that reduce the size of text-based web assets (HTML, CSS, JavaScript) before transmission to the browser. Brotli is newer and achieves 15–25% better compression than GZIP. Both are transparent to the user.

Why It Matters for Shopify Stores

Compression reduces the bytes transferred over the network, directly improving load times — especially on mobile connections. Shopify's servers apply compression automatically to all text assets served through its CDN. For merchants, this requires no action. However, custom HTML served outside Shopify's CDN (custom checkout pages, external landing pages) should verify compression is enabled.

How to Check Your Store

In Chrome DevTools Network tab, check the 'Content-Encoding' response header. It should show 'gzip' or 'br' (Brotli) for HTML, CSS, and JavaScript files. Shopify-served assets are always compressed.

Use the free shopify speed test tool

How to Fix It

N/A for standard Shopify stores — compression is handled automatically. For external pages or self-hosted assets, enable GZIP/Brotli on the server configuration.

Related Terms

Check your store's GZIP / Brotli Compression with our free tools

Get a full audit across all 6 performance categories — including performance — in under 60 seconds.

Run a Free Store Audit