• Resolved Nicola Modugno

    (@shark986)


    Hello,

    webp images aren’t shown on Safari if osx is lower than Big Sur.
    I am aware that this is a known problem.

    What is the impact of this problem? How many visitors use old os systems?
    Is there a fallback method to get images showing correctly?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is there a fallback method to get images showing correctly?

    Yes, these users get .jpegs or .png

    What is the impact of this problem?

    More data to load, because most jpg or png have a higher file size.

    How many visitors use old os systems?

    There are no valid statistics, but maybe Google knows it.

    Thread Starter Nicola Modugno

    (@shark986)

    Hello @serpentdriver, thank you for your reply.

    Yes, these users get .jpegs or .png

    If you consider that we are talking about the LS plugin, and that the plugin substitutes the original image src with the webp version, you can think that NO, users are not able to get the original images unless someone tell their browser how to do!
    I think it is clear: I am asking if the LS plugin (that, remember, substitutes the images src) can also automatically manage the “Safari problem” or there is a workaround for that.

    More data to load, because most jpg or png have a higher file size.

    There are no valid statistics, but maybe Google knows it.

    Please, read my post in the right order, from top to bottom: I am not referring to technical aspects, but I am asking if there are statistics on how many users use Safari with older OS, or If someone from the LS staff can share some details or sources to get the right problem dimensions.

    Have a nice day.

    If you consider that we are talking about the LS plugin, and that the plugin substitutes the original image src with the webp version, you can think that NO, users are not able to get the original images unless someone tell their browser how to do!
    I think it is clear: I am asking if the LS plugin (that, remember, substitutes the images src) can also automatically manage the “Safari problem” or there is a workaround for that.

    Yes, we are talking about LiteSpeed cache plugin. ??

    As I already said, yes, there is a workaround. If you have webp replacment enabled, then check .htaccess. There is a rewrite rule that checks Safari and its version and if he accepts webp images and depending on the version a Safari user gets either webp or jpg|png images.

    RewriteCond %{HTTP_ACCEPT} "image/webp"
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    RewriteCond %{HTTP_USER_AGENT} iPhone.*Version/(\d{2}).*Safari
    RewriteCond %1 >13
    RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]

    Does this answer your question?

    Thread Starter Nicola Modugno

    (@shark986)

    @serpentdriver, now your answer pointed me in the right direction:
    Knowing that the problem is already managed by the LS plugin, I have checked the configuration for the webp replacement and refreshed the whole cache. The problem seems to be solved now.

    Maybe the cache of some pages was created before the webp replacement was enabled (due to the domain token of quic.cloud not already confirmed).

    Thank you for your time!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Safari does not show webp images’ is closed to new replies.