• Resolved echappee06

    (@echappee06)


    Hello,

    I have issues with some Safari versions : the webp images are not loaded. I guess that the webp cache is still served, even if the browser is not compatible.
    This doesn’t appear on every Apple device, it depends.
    If I deactivate the “webp image replacement” feature it is OK but the speed note is worse …
    I am using the 4.6 version of LightSpeed plugin, and using the latest WordPress version.
    How can I do to solve this and still enable webp on compatible browsers ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support qtwrk

    (@qtwrk)

    this is most likely if you have additional cache layer

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter echappee06

    (@echappee06)

    Thank you !
    Here is the report number : DYLWAQKL.

    If this can be related to an additional cache layer, then you should know that I always have to empty all cache entries (the last button from the toolbox menu) if I change a CSS file, otherwise the new file is not loaded if I just hit the “Purge all” button.

    Plugin Support qtwrk

    (@qtwrk)

    you are using LiteSpeed ADC , I assume it’s from o2switch

    in this case , you will need to ask your provider , to copy-paste the webp vary rule

    ### marker WEBP start ###
    RewriteCond %{HTTP_ACCEPT} "image/webp" [or]
    RewriteCond %{HTTP_USER_AGENT} "Page Speed"
    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]
    ### marker WEBP end ###

    this section from your .htaccess, into ADC’s vhost rewrite rule , in order to make ADC to be able to vary the cache for webp

    Thread Starter echappee06

    (@echappee06)

    Yes indeed, I am hosted by O2Switch.
    I asked them to add these lines but unfortunately they are not able to do it. They told me that the configuration on the litespeed side is not changeable at the moment and that they have the impression that it impacts the overall configuration.

    Is there another way to make it work or should I disable the webp feature ?

    Plugin Support qtwrk

    (@qtwrk)

    well , unfortunately , that’s the only way ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Webp images loaded on non compatible browsers’ is closed to new replies.