How cloudflare decides on compression?

I set compression of image to lossless with webp ticked.

Sometime the image cached in cloudflare returns in webp format, sometime other in jpg. Anything wrong with my setting or this is how cloudflare works. Meaning cloudflare only returns in webp if the size can be further reduced / compressed ?

Is there a way to set in http header to inform cloudflare not to apply compression ?

Correct.

Try the no-transform cache header. I believe that will prevent any changes to the file.

3 Likes

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