Registering a service worker now creates a new instance regardless of whether there is already one running. Previously, service workers were resurrected when they were updated or when the same script was registered while the service worker was alive. This change is intended to remove the confusion caused by a service worker becoming active again with no corresponding activate event.

Documentation

Specification

Specification link


Unknown standards status - check spec link for status

Status in Chromium

Blink>ServiceWorker


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Search tags

service, serviceworker, worker, resurrection, install, unregister,

Last updated on 2021-08-13