Problem Webp ? Safari : automatic remplacement doesnt works well




Wordpress LScache Plugin: Problem Webp ? Safari : automatic remplacement doesnt works well

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, here is my problem and thanks in advance for your support. Note 1: before to contact you, I tried to find a solution on the different blogs, I tried some, but the problem always come back. Note 2 : Im a ??noob?? in html code. If I need to required it, please, write me every steps and details. Problem details : ? Activate Webp image ? In safari everything works well (of course, before check it, I wait for few hours and I flush the cache in Safari. I do the check on 2 different computer) ? After 1 or 2 days some images start to be dropped (for now, only my ??home page?? but after, Iike I saw, every images on the website are dropped). Try to solve : ? Remplace images by ??original?? ? Flush cache LsCache ? Wait for a while ? Flush Cache Safari ? Check : OK ? Remplace images by ??compressed?? ? Flush cache LsCache ? Wait for a while ? Check again on safari : everything works well (before, flush cache of Safari) ? After 1 or 2 days : problem coming back Safari version : ? I tryed with Safari version older than 10.14 ? But many visitor of the website doesnt use the last version of Safari : this is why its important that the process of automatic remplacement for charging Jpg image instead of Webp must works well, pls. What I thing : ? The code to remplace Webp by Jpg or Png when the website charging doesnt continue to works well and doesnt do his job System configuration : ? LsCache report : UPUJLSZB ? I use Quic.com as for : Page optimization + CDN + Image Optimization ? Hoster : O2Switch Thanks a lot for your support This topic was modified 2 years ago by momentoresort. This topic was modified 2 years ago by Yui. Reason: redundant link(s) deleted The page I need help with: https://www.momento-resort.com Hi, If you disable webp replacement , does it work fine after 1-2 days ? Best regards, Hello thanks for your answer. Yes, I did it. I will check it one more time and come back to you in 2 days for confirm. Best regards Hi, Just follow up , how is thing doing ? Best regards, Hello, Thanks for your following along. I confirm that when I disable webp replacement, the images are fine on Safari (which is normal, because the configuration does not allow replacement ?) But, of course, my website lost speed (with Pagespeed and others). So, now I reactivate web replacement, I flush the cache and I will let you know in 2 days. New report # : RZLFPOEJ Thank you for your attention and support Hello, So, I reactivated Webp replacement and today, the images started to be dropped. For now, its only only 1 page. But, theres many chance that the others will follow. Thanks for your help Hi, In your .htaccess you have content ### 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 is rewrite rule to conditional check for webp browser and none-webp browser it works directly on LiteSpeed Enterprise webserver , but in your case, you are using Apache + LiteSpeed ADC which means , if this rule is NOT added into ADC , then ADC (where the cache is stored) does NOT know the cache needs to be varied and blindly sent back the page discard webp-compatiblity Please contact your hosting provider and kindly ask them to add this rewrite rule into ADC vhost rewrite rule tab Best regards, Hello, thanks so much for your support and your technical answer. I will contact my hosting provider for that. I will let you know the issue asap I have the confirmation and I checked the results. Thanks and best regards Hello, I confirm that the problem should come from my hosting provider. They wrote me this explanation : we use a special version on our side that doesnt allow this workaround at the moment. SO, I will try to find a solution (perhaps you have one ? Thanks for, you support and the time that you spent Best regards Hi, unfortunately I dont see more idea about this some feature requires server-level to incorporate , like properly set up the vary Best regards, OK thanks. I close the topic



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference