Closed mu-hun closed 3 years ago
Refreshing the page isn't enough to let the new service worker.
It could be replace to self.skipWaiting(), but I Postpone use this.
self.skipWaiting()
https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle#waiting
Refreshing the page isn't enough to let the new service worker.
It could be replace to
self.skipWaiting()
, but I Postpone use this.https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle#waiting