Ire Aderinokun 12/19/2018

Handling broken images with the service worker

Read Original

This technical article details a method for handling broken images using a service worker's fetch event. It contrasts this approach with CSS-based techniques, showing how to intercept failed image requests and serve a cached placeholder image instead, improving user experience both online and offline.

Handling broken images with the service worker

Comments

No comments yet

Be the first to share your thoughts!