Why WebP Delivery Can Break Behind a CDN (and How the picture Element Fixes It)
There are two common ways to serve WebP to browsers that support it. One decides on the server, by reading the request’s Accept header and swapping the file. The other lets the browser decide, using a <picture> element. Both work as long as every request reaches your server. Put a cache or CDN in between,…

