This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default skipWaiting parameter is set to true, allowing newly registered service worker to bypass the `waiting` state, so all out of date cache entries from the previous service worker will be deleted. Because of async dynamic module loading we don't want that to happen, keeping a way of loading old chunks. The downside of removing skipWaiting is that newly deployed service worker code and caches won't become active until all existing tabs that have an older version of that service worker are closed, but that actually sounds we want exactly this behaviour. Related to GoogleChromeLabs/sw-precache#180 (comment)
- Loading branch information