Hi Victor,
please note that from our experience, activating Cloudflare won’t allow you to serve WebP images to WebP-aware browsers while serving JPEG/PNG to others.
The message below is the answer received by another ShortPixel client from Cloudflare:
We do actually support this with our feature Polish on our Pro plan. If an image can be compressed further with webp it will serve that image to supported browsers, or alternatively serve the jpeg image.
Unfortunately on the free plan trying to manage this from your origin will not work, as we will cache and serve whatever is first requested by the client. If this happens to be a webp image then that will be what is served going forward from cache and visitors with unsupported browsers would see errors.
Best regards,
Alex
-
This reply was modified 8 years, 11 months ago by
ShortPixel.
Cloudflare alone (on the free plan) won’t serve WebP images to WebP-supported browsers while falling back to JPEG/PNG to non WebP-supported browsers, however using it in combination with Cache Enabler shouldn’t be a problem. We’ve had other customers use CE + Cloudflare and WebP images are delivered as expected.
Two different answers from 3 different sources, safe to say I’m not sure how to proceed
I have tested this and the fallback works except for Safari. I suggest you enable the option and run a browser test to make sure all browsers get served by the WebP or JPEG/PNG images.