Network based image loading using the Network Information API in Service Worker

Clever use of a service worker in combination with navigator.connection.effetiveType by Michael Scharnagl. The SW watches all requests for image resources, and rewrites them to high resolution versions in case navigator.connection.effetiveType is fast enough.

Network based image loading using the Network Information API in Service Worker →

Elsewhere , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *