• Resolved Yoav Rheims

    (@yoav1987)


    Hello,

    Love the addition of webP to LiteSpeed Cache but you should be aware that not all browsers support it yet: https://caniuse.com/webp/embed/

    So, I think a fallback to those browsers would be best practice. Not everybody know that and most likely won’t understand why there images are missing.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, Yoav.

    Yes, we are aware of this limitation, and a callback to jpg (or png) is exactly what is done in those cases.

    Are you observing something different?

    Thread Starter Yoav Rheims

    (@yoav1987)

    Hey Lisa,

    In a matter of fact, the fallback doesn’t seem to work when browsing on MS Edge: https://zupimages.net/up/17/44/gtwb.png

    But, otherwise, works without any hiccups.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hmm. Ok, thank you for reporting it! We’ll have a look.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    I’m trying to recreate the issue, but it works for my test site on Edge and Firefox. Can you share a URL where it is not working?

    Thanks!

    Plugin Support Hai Zheng?

    (@hailite)

    When the browser which doesn’t support WebP visits your site, a non-webp cache copy should be served as it will have different vary copy.

    In your .htaccess there should be one rule which adds the vary ‘+webp’. Can you check if its there, and share the debug log when you visit via MS Edge? Or give more detail so we can have a look.

    Thread Starter Yoav Rheims

    (@yoav1987)

    Here is the URL: https://goo.gl/wgD9c7

    I do see the specific line in the .htaccess indeed.

    Plugin Support Hai Zheng?

    (@hailite)

    That page is strange. Can you create a tix or paste the debug log when you access via firefox/safari? Thanks.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    It works for me on MS Edge!

    Thread Starter Yoav Rheims

    (@yoav1987)

    That page is strange.

    It’s Swedish ,)

    It works for me on MS Edge!

    That’s weird! Glad it works for you; maybe my computer is messing around…

    I have no idea how to get what you requested :/

    Plugin Support Hai Zheng?

    (@hailite)

    I mean the page doesn’t have expected footer comment. Can you paste the log as I mentioned? Or a ticket.

    Thread Starter Yoav Rheims

    (@yoav1987)

    logs removed.

    • This reply was modified 7 years ago by Yoav Rheims.
    • This reply was modified 7 years ago by Yoav Rheims. Reason: logs removed
    Plugin Support Hai Zheng?

    (@hailite)

    From your debug log, nothing is wrong. Please create a ticket.

    Thread Starter Yoav Rheims

    (@yoav1987)

    Got it, I’ll.

    Plugin Support Hai Zheng?

    (@hailite)

    Well, looks like I can reproduce the issue now. Found the bug. It only happens for img src, while not for srcset.

    Will fix in this week’s release. Thanks a lot for the feedback.

    Thread Starter Yoav Rheims

    (@yoav1987)

    Awesome! Thanks.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WebP fallback’ is closed to new replies.