WebP not working in Chrome or any browser

Hi,

Even after enabling the Image optimisation with Polish and WebP, we are not able to see the webp images. It returns JPG only.

Could you help us to understand what’s happening?

The website in my account starts with bro…

Thanks
Siva

Sorry, the main domain starts with staging.bro…

The curl request to the image gives

HTTP/2 200
date: Fri, 24 Mar 2023 09:50:16 GMT
content-type: image/jpeg
content-length: 70435
cache-control: max-age=2592000
cf-bgj: imgq:100,h2pri
cf-polished: origSize=71010, status=webp_bigger
etag: "641d71a1-11562"
expires: Sun, 23 Apr 2023 09:50:05 GMT
last-modified: Fri, 24 Mar 2023 09:47:13 GMT
x-frame-options: SAMEORIGIN
cf-cache-status: HIT
accept-ranges: bytes
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=rPCmWklkN1vQhDCH6J5PmOYwVsfoF%2BJF%2FCriL%2F8CXSPzwKXgn9ZzQlYQNmV48xUAS8NPzrfsvRXK2NnIJR6wHri5i3SaD1CpdcN5XzUEPG%2BUP5%2Bd2sSdkx%2FVNg46f88b9Wvoi76J%2FGMsrSrzeWu81Xh%2BykQA"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7ace02498c3723d0-LHR
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

Looks like I was using Lossless, but then turned on the lossy with WebP.

Purged the cached, refreshed few times for warm cache, use the curl again. It is the same.

None of the image on the (magento) category page has webp images. Does that mean, CF think, not even a single image is worth converting?

Thanks
Siva

Hi, as you can see from the header, polish tried webp compression, but produced bigger size than original, hence doesn’t make sense to keep webp version

2 Likes

This topic was automatically closed after 15 days. New replies are no longer allowed.