Service Worker

Service workers essentially act as proxy servers that sit between web applications, and the browser and network (when available). They are intended to (amongst other things) enable the creation of effective offline experiences, intercepting network requests and taking appropriate action based on whether the network is available and updated assets reside on the server. They will also allow access to push notifications and background sync APIs. (from Mozilla Developer Network).

resources

ServiceWorker Cookbook -- The Service Worker Cookbook is a collection of working, practical examples of using service workers in modern web apps.

Service Worker Resources -- A list of documentation on service worker.

Simple serviceworker turorial -- a really simple ServiceWorker example.

MDN - Service Worker API -- Mozilla Developer Network documents about the Service Worker API.