Out of the Shadows
summary
Explains how Service Workers use the fetch event and the Cache API to provide offline fallbacks and saved-page lists, implementing patterns like cache-first and network-first (check cache, then fetch-and-stash). Gives concrete examples—an offline HTML “dinosaur” page, reliably loadable saved-post bookmarks, and an artwork that only shows when offline—and mentions the Google-backed sw-toolbox library and the requirement for HTTPS and same-origin scope.
AI-written summary · about
chapters (7)
- 0:00Welcome
- 3:17Service Workers
- 10:05Offline experience
- 15:25Service Workers in code
- 21:44Caching strategies
- 25:00Service Worker libraries
- 26:46References and conclusion








