Cloudflare does not compress JS/CSS files

I have several domains on Cloudflare, and compression (gzip or br) works fine everywhere.

However, i have one that I use as a CDN domain, and none of the resources served from there are compressed, they are returned as plain, uncompressed text (application/javascript for example).

Example for a file served as plain text:

I have no page rules, brotli is enabled. How can I have Cloudflare compress resources served from this domain?

That is slightly weird. I wouldnt assume it would change much, but could you try to disable Brotli?

In parallel I’d also open a support ticket.

Thanks for the tip. I’ve tried disabling Brotli and it didn’t help. I’ll open a ticket

This topic was automatically closed after 30 days. New replies are no longer allowed.