logoalt Hacker News

abanana • last Friday at 9:50 PM • 2 replies • view on HN

Regarding real-world use of WebP - what makes it much worse, in my experience, is that so many web servers are set up to do a lossy conversion to WebP from the original file, most often JPEG (to cut down on bandwidth, or just to satisfy a web speed report originating from Google and therefore pushing Google's technologies). The difference is often very noticeable, e.g. textures smoothed out of existence. Helps to remove WebP from the Accepts header to force servers to serve the original.

It means the technical differences between format, and the real-world choice of which file you want, don't match.


Replies

thayne • yesterday at 5:10 AM

Which is a big advantage jpegxl has over avif. You can convert existing jpegs to smaller jpegxls without losing any data.

throwaway2046 • yesterday at 3:05 AM

> Helps to remove WebP from the Accepts header to force servers to serve the original.

I have tried doing that with curl/wget but have been unsuccessful, websites still serve webp even when the original URL ends with .jpg or .png... Could you explain how you do it?

➕ show 2 replies