A service worker is JavaScript code that, once registered with an associated origin and scope, will respond to browser-initiated events, even when the pages it controls are no longer open. By handling `fetch` events, service workers can provide custom network behavior, like offline support (via the Cache API). By handling `push` events, service workers can be "woken up" and display notifications.
- https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API
- https://w3c.github.io/ServiceWorker/
- ServiceWorker explainer - document explaining the feature, its use cases and how it works
- The ServiceWorker: The network layer is yours to own - 15m video explaining the feature and how to use it
- Google I/O 2014 - Bridging the gap between the web and apps - 48m video covering the whole story of ServiceWorker