My site does not load webp


#1

Hi there,

I have activated polish and webp for my images, but it keeps loading .jpg.

Example: https://www.elquintobeatle.com/2019/02/19/arcade-fire-podrian-publicar-nueva-musica-antes-de-acabar-2019/

Could you help me?


Polish Works?
#2

Which browser are you using?

For me it does load as WebP

image


#3

Interestingly enough, even though it sends a WebP content type, the image saved is still a JPEG.

@cloonan @cscharff


#4

Yeah! That’s the matter… I do not why. :pensive:

I have tested with Chrome, Firefox, Opera, and even Microsoft Edge!

Thanks for your help.


#5

I’d open a support ticket too.


#6

That’s by design. We’re converting the content type, the browser knows that it’s webP and renders it appropriately.


#7

My point was the image was saved as JPEG and not WebP. Having received an image/webp response I would have expected the file to be WebP, unless the browser would convert it to JPEG upon saving, something which I sort of doubt though.


#8

Yeah we don’t change the file name at all, just the content type. Browser is smart enough to know the content is WebP and render it appropriately.


#9

Not referring to the file extension ;).

The file was a JPEG file, its content. Despite the content type indicating webp. Unless, upon saving the file, the browser converted it from WebP to JPEG.


#10

Follow up: that is apparently precisely what is happening (at least on Chrome). The browser converts the file. This only happens when saving it from the page’s viewport via a right click. Saving it from the developer tools appears to preserve the format :roll_eyes:

Sorry for the false alarm from my side.


closed #11

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