Lightning talk: Service Workers, use them
summary
Claims that service workers noticeably improve load and offline behavior and demonstrates a working offline demo. Shows concrete code: registers via navigator.serviceWorker.register, caches assets in install with cache.addAll and uses respondWith to return cached responses or fall back to network. Uses event.waitUntil, self.skipWaiting and clients.claim to activate immediately and purge old caches. Notes requirement HTTPS or localhost, no private browsing, and cites Can I use browser support numbers.
AI-written summary · about
related talks
23mGo Offline with Service Workers
52mGoing offline
01h 00mService Worker: Bringing Native App Experience to Web Apps
27mMaking Offline Suck Less with Service Workers
33mService Workers
25mOffline-enabled Web Apps
01h 29mService Workers in Action: Building an Offline-Capable Webshop in under 90 minutes
30mThe Beauty of Service Workers
