Updates

Updating a service worker can be a bit fiddly

An update is triggered whenever you visit an in-scope page, though there are some other edge cases. It will check if the sw.js file is byte-identical to the loaded one.

Data to store