We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Is it normal that .webp images are delivered as JPEG in Safari?

Is it normal that .webp images are delivered as JPEG in Safari?

Gemoran
Excursionist
45 1 1

 

Hi everyone,

I’ve noticed something strange regarding image delivery in Shopify. I uploaded WebP images to my store, and when I inspect the network requests in Safari (or when emulating an iPad in Chrome), I see that the images—despite having a .webp file extension—are being served with the content-type: image/jpeg.

Example request:

 

URL: https://[myshop].com/cdn/shop/files/example.webp?width=533
Content-Type: image/jpeg
Safari supports WebP (confirmed on macOS and iOS), and my browser sends the correct Accept headers including image/webp. Yet the CDN still delivers JPEG instead of WebP.

Is this normal behavior? Does Shopify override or re-encode WebP images depending on the original upload format or CDN logic? And is there any way to reliably serve actual WebP to supported browsers?

Appreciate any insights or confirmation from others seeing the same behavior. Thanks!

Replies 0 (0)