• Resolved bookfinder

    (@bookfinder)


    Hi,

    i see that you have added webp, which is great, but from my precedent research on the subject this doesn’t work with the free cloudflare CDN, unless excluding images from cloudflare with a custom rule.

    Can you please confirm whether or not autoptimize webp option works with the free cloudflare CDN?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the short answer; I don’t know ??

    the longer answer; the img in the HTML is still a normal jpg (or png or …) so to cloudflare those are non-webp images. upon the page being loaded the non-webp images swapped on-the-fly by JS for the WebP-version in browsers that support it. so I *guess* it should work.

    the conclusion; why don’t you give it a try and report back here? ??

    EWWW Image Optimizer has a JS (alternate) serving mode for WEBP images that works with Cloudflare.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    interesting, in that case the AO one (which also uses JS) should work just fine as well ??

    @bookfinder please confirm that the WEBP options is turned on AND the WEBP images actually exist.

    I’ve tested a couple of JPEG and a PNG image and they are “not found” when their extension is changed to “.webp” or when “.webp” is added to their original name.

    If you’re using a paid CF plan, you can actually use Polish for image optimisation. See https://support.cloudflare.com/hc/en-us/articles/360000607372-Using-Polish-to-compress-images-on-Cloudflare

    • This reply was modified 5 years, 7 months ago by Gal Baras.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘webp and cloudflare’ is closed to new replies.