Webp being served to old Safari version
-
Hi there,
Report number: WYTWZKCI
I noticed that webp images are missing from my webpages when viewed on an older version of Safari. Other image types are appearing fine.
I have selected the option to use webp and that’s great for the most part.
I see my htaccess has some rewrite rules that are intended to cater for older Safari versions. Does this look correct to you?
marker WEBP start
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]marker WEBP end
I’m not too hot on such rewrites but is the formatting a bit off for the designation of Safari version?
Or is there some other reason why webps are being served when they should not be.
I have also noticed this problem on a different website of mine, so it doesn’t appear to be site specific.
Thanks for looking!
The page I need help with: [log in to see the link]
- The topic ‘Webp being served to old Safari version’ is closed to new replies.