diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-19 09:23:21 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-14 10:38:49 +0000 |
commit | 0e80a90bebc12fe381892386f9ffd751edb38d7c (patch) | |
tree | 50f5ac13f745f6142c9b6cab726dacda2fb447fe /docs | |
parent | 43290e5f733b4e88c6b4e5467b7e446a416a4682 (diff) |
Initial service worker.
This basic service worker behaves identically to the existing appcache -
some static scripts and CSS are cached, any HTML offline instead returns
a static HTML page that knows how to show data on stored problems out of
localStorage (stored there when /my/planned was visited online). Inspect
form submissions will be captured and can be synced back when online.
Once feature parity is established, we will then remove appcache, switch
from using localStorage to the cache API, and hopefully move all offline
support into the service worker.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions