Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 662 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 662 Bytes

Currently a new updated Service worker doesn't take over until a user clears the browser cache, or leaves the current tab or quits the browser.

skipWaiting

Solution

This template will show a notification each time that there is a new version of the service worker is available. This will ensure that a user is up to date and has the latest version of any cached files.

Once the user confirms its okay to update, the old service worker gets replaced by the new one