The Image Beast

by Dean Hume

There are many great alternate image formats available these days, and many of them offer significant size savings over the traditional formats. Unfortunately not every browser provides support for all of these great image formats. Simply include the tiny 1KB script in your Service Worker, create the appropriate image formats, the image beast will decide the best image format, cache it and return it to your users. Serve the lightest, leanest images to your users using the image beast script.

View the source of this project on GitHub: https://github.com/deanhume/image-beast