Image optimization has always been a hot topic for web performance, with different approaches and solutions such as lazy loading, responsive images, etc. One popular solution is to use a CDN to serve the optimized variants of an image depending on the application’s needs on run time. However, building a…