Service Workers: Caching Strategies, Offline Applications and Lifecycle
A service worker runs outside the document context and can handle requests made by a controlled web application. Registering one does not make an application offline-ready. We will build a deliberately narrow fallback for a public documentation site, then choose caching policies for other resource types.