Webp versions are not fully compatible with Firefox
-
Dear @qtwrk,
Firefox does not send the webp in the request header so, the .htaccess rule is not working with Firefox properly.
This is the Accept section of a request header of Firefox:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
This is the Accept section of a request header of Chrome:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
.htaccess:
### 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 ###This is a problem because Firefox supports the webp format since 2019. What solution do you suggest?
Best regards,
@estalhun
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.