Service Worker - Cache All
November 13, 2016 ยท View on GitHub
A simple, bare minimum service worker that would cache all the requests, and can be used as a boiler plate to immediately take your webapp offline.
Explanation is annotated in the source code - index.js.
Check examples for usage
For online example see https://boopathi.github.io/sw-cache-all/