These are some accompanying examples of service worker scripts for network optimization and offline fallback.
lyzadanger/serviceworker-example
Example scripts for network optimization and offline fallback
JavaScriptMIT
Example scripts for network optimization and offline fallback
JavaScriptMIT