Commit graph

5 commits

Author SHA1 Message Date
a2f002dcad Added Service Worker for offline caching
Removed Google Analytics script.
2020-12-14 08:01:37 +01:00
9a2e937f1b Update sw.js 2020-12-09 08:08:54 +01:00
e8dd97a291 Added pattern.gif "redirect" with SW
Added placeholder 'pattern.php' script.

SW:
Added uniform version control.
'handleRequest()' is now 'fetchContent()' and automatically saves response to 'bucket' Cahce Storage (removed between SW versions)

Added uniform same-origin check with 'const origin'.

Fixed issue where "cache lookup -> fetch fallback" wouldn't actually load content from cache.
2020-12-07 07:27:40 +01:00
e30593f849 dev12060537 - ServiceWorker basic boilerplate
Added a boilerplate for a offline-first sw.

Need to add support for non-standard same-origin assets
2020-12-06 05:38:36 +01:00
c34db81cd5 Draft 2020-11-17 16:30:32 +01:00