CF not serving precompressed Brotli from origin


I’m doing Brotli and Gzip precompression of all my files on the server. Server serves files in the order Brotli > Gzip > Uncompressed. I want to serve my Brotli files because they are much smaller (compressed to the max on the server).

However due to some reason CF do not request Brotli files from my server, it requests only Gzip versions.

What I’ve done:

  • I’ve disabled all services mentioned at
  • Tried to configure “Configuration Rules” to disable mentioned services for all requests
  • Tried to set “Cache-Control: public, no-transform” header on the origin as described at
  • Tried to enable/disable Brotli compression
  • Cleared Cache and so on

No matter what I do, Cloudflare never request Brotli-compressed files from my origin. It either serves Gzip version or perform it’s own Brotli re-compression.
Disabling CF proxy completely works and I’m getting my Brotli files directly from origin, but I don’t want to disable CF proxy.

According to CF blog from this summer

Compression Rules are available now! With End to End Brotli being rolled out over the coming weeks.

Related forum post is also already closed.

Does anyone knows when we can expect this feature to be enabled?


The feature was disabled. Look into the linked thread for updates.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.