ServiceWorker: Check for new version on load, and prompt to reload if it can be reached
Open
@leggechr is already working on this.
Since Apr 11, 2022.
bug
serviceworker
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the ServiceWorker will load a stale version if the app is updated, and a user will need to reload to see the new version.
Instead, the ServiceWorker should check for a new version (after loading the stale version), and prompt the user to reload if a new version is reachable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.