Practical solution to serve images conditionally depending on WebP support. This recipe discusses how to do it with nginx. WebP is a next generation image format spearheaded by Google since 2013, which provides so much better compression than legacy formats. Only supported by Chrome, Opera and Android at this time.Read more
WebP lossy compression is awesome. WebP is a Google development, a method of lossy and lossless compression that can be used on a large variety of photographic, translucent and graphical images found on the web. Only Chrome and Opera support it, not Firefox.
Adding an image format to the web means it’s there for good. We’re not getting rid of PNG, GIF, or JPEG anytime soon, for instance. Adding yet another format is therefore a pretty big commitment.