For Workes & Pages, what is the name of the domain?
What is the issue or error you’re encountering
Browsers are getting gzipped static files where Brotli is expected even if the request accepts br compression or the uploaded files have *.br file versions
What are the steps to reproduce the issue?
Go to Chrome dev tools
Network tab
Click on any javascript file of the same origin
Look for the request and response headers
Check that content encoding response header is not Brotli
You’ll probably get the already-cached gzip. But drop gzip from accept-encoding, and Cloudflare will force brotli for you.
If you’re on an Enterprise Plan, you’d be able to use a Compression Rule to customize this behavior, and put the compression methods in a preferred order.
Thanks for your quick response, man. I tested it as you mentioned, and indeed, if I only accept br, then CF returns the correct one. I’m not on the Enterprise plan, and upgrading only for compressing ordering seems a bit much. Do you know by chance if there is any alternative?