Do the following to ensure SW is active and serves requests: - in ServiceWorker, claim all clients once activated - in page, await activation promise instead of a registration |
||
|---|---|---|
| .. | ||
| sw.html | ||
| sw.js | ||
Do the following to ensure SW is active and serves requests: - in ServiceWorker, claim all clients once activated - in page, await activation promise instead of a registration |
||
|---|---|---|
| .. | ||
| sw.html | ||
| sw.js | ||