Enable
By default, Brotli compression is enabled for domains on Free and Pro plans and disabled for domains on Business and Enterprise plans.
To enable Brotli compression:
- Log in to the Cloudflare dashboard ↗, and select your account and website.
- Go to Speed > Optimization > Content Optimization.
- For Brotli, toggle the switch to On.
Even when using the same compression algorithm end to end (between your origin server and Cloudflare, and between the Cloudflare global network and your website visitor), Cloudflare will need to decompress the response and compress it again if you enable any of the following settings for the request:
- Automatic HTTPS Rewrites
- Cloudflare Fonts
- Email Address Obfuscation
- Mirage
- Polish
- Rocket Loader
- JavaScript detections
- RUM
To disable these settings for specific URI paths, create a configuration rule.