Add

Lorem ipsum

Lorem ipsum

A
A
A
SEO / GEO

11 views

4 min

How to Enable Gzip and Brotli Compression in Webflow

See how Gzip and Brotli compression work in Webflow, and how to check that they’re active on your domain.

In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to check and optimize resource compression on your Webflow site.

AlgorithmCompressionSupportIn Webflow
Gzip~70%UniversalEnabled by default
Brotli~80%Modern browsersEnabled via Fastly CDN
Zstandard~85%Very limitedNot available

Good news: Webflow handles compression for you

Webflow uses the Fastly CDN, which automatically enables Gzip and Brotli on all text-based assets: HTML, CSS, JS, SVG. You don't need to configure anything. Just make sure your custom domain is being served through the Webflow CDN and not through an intermediate proxy that would disable compression.

1. Check that compression is active

In Chrome DevTools > Network, select an HTML or CSS request from your site. In the Headers tab, look for content-encoding: br (Brotli) or content-encoding: gzip in the Response Headers. If it's missing, your domain may be served through an unconfigured proxy.

2. Check your DNS configuration

If you're using Cloudflare as a proxy (orange cloud) in front of Webflow, Cloudflare may recompress assets. Make sure Cloudflare compression is set to Auto or Brotli in Speed > Optimization settings.

3. Optimize non-compressible assets

Images (WebP, AVIF, JPEG), videos, and WOFF2 fonts are already compressed internally. Gzip/Brotli compression doesn't affect them. Focus on reducing the weight of your CSS and JS instead of trying to compress these assets.

good to know

If you're using a Cloudflare proxy in 'Full (strict)' mode in front of Webflow, Brotli compression is handled by Cloudflare on the client side and Gzip between Cloudflare and Webflow. That's a valid setup. On the other hand, an unconfigured proxy (nginx, Apache) between your domain and Webflow can block compression: always check the Response Headers in production.

Conclusion

Compression is enabled by default in Webflow. The main thing is not to disable it by accident. Use cases:

  • DNS configuration audit after a domain migration
  • Check after adding a Cloudflare proxy
  • Diagnosing an unusually low PageSpeed score

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...