I swear that as recently as April, Cloudflare was removing the gzip compression from the origin server if the mime type wasn’t recognised. I solved this by add a Cache-control: no-transform
header for any mime types that should be compressed but weren’t.
But it seems now that this isn’t necessary, and the gzip compression is just being passed along. Did Cloudflare change how their compression rules work recently?