• Resolved nosilver4u

    (@nosilver4u)


    Hi, I’m the author of the EWWW Image Optimizer plugin, and I was reading an article that mentioned your plugin. I thought I’d check it out and noticed you had webp support. With EWWW I.O., the only options have been to use .htaccess rules (if the site is NOT employing a CDN), or use page parsing+js because of caching plugins.

    I really appreciate that you added this capability, and I wondered if you would be able to add support in your webp routine for the naming scheme used by EWWW Image Optimizer?

    Instead of replacing the file extension, EWWW IO appends .webp to the existing filename. We started with the other method, but it had some issues with filename collisions (if you have a .png and a .jpg with the same basename), so we switched to the appending method a while back.

    https://ww.wp.xz.cn/plugins/cache-enabler/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author KeyCDN

    (@keycdn)

    Thanks for reaching out! We haven’t seen any collisions with the filename so far. Do you have an example for this?

    I also think it is cleaner to have only the actual extension there instead of having still the previous file format.

    What about a switch on your end to allow replacing of the image extension to webp? That would immediately enable the benefits of the Cache Enabler for the webp files.

    Thread Starter nosilver4u

    (@nosilver4u)

    I’ve never actually seen a collision in real life, but with several hundred thousand users, I do everything I can to avoid them. Here is the thread where we originally discussed changing the renaming scheme in EWWW IO: https://ww.wp.xz.cn/support/topic/webp-filename-not-unique?replies=8#post-5977643

    Plugin Author KeyCDN

    (@keycdn)

    I recommend to change the extension to WebP. I don’t see any problem with that.

    Thread Starter nosilver4u

    (@nosilver4u)

    Except there IS a potential for file-name conflicts, not a chance EWWW is changing back.

    Plugin Author KeyCDN

    (@keycdn)

    We added the support to for appended .webp. We haven’t done a version bump yet, so just test this with the current version 1.0.9. Can you add a link to the Cache Enabler in your plugin settings and on the plugin website?

    Thread Starter nosilver4u

    (@nosilver4u)

    Very cool, I’ll test it out, and will definitely add a link to Cache Enabler for my next release.

    Thread Starter nosilver4u

    (@nosilver4u)

    Hmm, I tried it on two different sites and it doesn’t seem to be working. I converted all my images on the home page of https://ewww.io, and the cache enabler says ‘webp’ at the bottom, but it doesn’t appear to be loading webp.

    Update: after double-checking, it’s only working for .png images. The other images on that site use .jpeg extensions, but my test site images are just plain .jpg.

    Plugin Author KeyCDN

    (@keycdn)

    Indeed, there was an issue with .jpeg, which is fixed now. Just delete the plugin and install it again.

    Thread Starter nosilver4u

    (@nosilver4u)

    That did the trick, fully webp now! Would be nice to have a link to EWWW IO on the Cache Enabler settings too 🙂

    Plugin Author KeyCDN

    (@keycdn)

    Awesome! We will certainly add you to the list of compatible plugins.

    Thread Starter nosilver4u

    (@nosilver4u)

    I’m also going to try to auto-detect when Cache Enabler’s webp option is on, and then gray-out/disable the EWWW webp rewriter.

    Plugin Author KeyCDN

    (@keycdn)

    The gray-out works perfect! How about suggesting the Cache Enabler there as well? I guess not many people will know about the new option to integrate WebP images otherwise.

    Thread Starter nosilver4u

    (@nosilver4u)

    Yeah, I was trying to think of a way to tie that in, to raise awareness of that method.

    Thread Starter nosilver4u

    (@nosilver4u)

    Ok, I’ve got a little blurb alongside the ‘Alternative WebP Rewriting’ option, and I opted to completely hide that option if we detect that Cache Enabler is active, and the WebP cache option is enabled. I thought that would probably be better, so people don’t go crazy trying to figure out why they can’t enable an option that is grayed-out. Although one would hope that folks would remember they already have Cache Enabler’s WebP option enabled, I’ve been in I.T. too long to assume any such thing 🙂

    Also, I know KeyCDN runs Optimus, but thought I’d ask anyway if you’d be willing to add a link to EWWW IO on your settings, something like “Convert your images to WebP with Optimus or EWWW IO.”

    Plugin Author KeyCDN

    (@keycdn)

    Sounds good! We will link to ewww on the plugin page once we completed all the compatibility checks with the different plugins we are running right now.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘webp support with EWWW IO’ is closed to new replies.