Viewing 1 replies (of 1 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi @ociao132,

    This is Joseph from Imagify, and I’ll gladly assist you here!

    I’m really sorry you’re having issues with this!

    The issue here appears to be that (as you mentioned), you’re using Cloudflare along with Imagify’s “Use rewrite rules” option.

    We don’t suggest you use Cloudflare with the “Use rewrite rules” option for WebP display because any first visit on your site will trigger cache creation in Cloudflare, and if that visit is from a browser that supports WebP, the WebP versions will be cached.

    If we look at the header info for the image, we can see it’s being served from Cloudflare’s server:

    View post on imgur.com

    Unfortunately, Imagify can’t control Cloudflare’s behavior when Safari is being used, and so there’s not much we are able to do. Cloudflare doesn’t consider browser compatibility for WebP and just serves the WebP version in all cases.

    Firstly, to get this issue fixed, you can disable the “Use rewrite rules” option in your Imagify plugin settings page. Then be sure to completely clear your Cloudflare cache (and also any local cache in the Safari browser), and that should get the images displaying once again in the older Safari browsers.

    If you are able to change the layout of the page so that your images are primarily HTML img elements, then the “Use picture tags” option for WebP display might be able to work better for you, as it does not have these same issues with Cloudflare caching.

    And if that can’t work for you, then at a minimum, at least the optimized JPG/PNG versions of these images are being used on your pages, so these images should still be loading a lot faster than they were before optimization.

    You can always leave the option to create WebP images enabled as sometime relatively soon, older versions of Safari will no longer be used and this caching issue would no longer be a problem, and at that point, you could use the “Use rewrite rules” option to display the WebP images (since the caching issue would no longer matter).

    You can check current browser support for WebP to help with this decision at https://caniuse.com/webp.

    Please let me know if you have any further questions on this and I’ll be very happy to assist however I can!

    Best regards,

    Joseph

Viewing 1 replies (of 1 total)

The topic ‘not found’ is closed to new replies.