Closed Bug 1323518 Opened 7 years ago Closed 4 years ago

Service worker basics and lifecycle documentation could be improved

Categories

(Developer Documentation Graveyard :: API: Web Workers, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wbamberg, Unassigned)

Details

I needed to understand the service worker lifecycle. I found the MDN docs:
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers to be less useful than the Google docs: https://developers.google.com/web/fundamentals/instant-and-offline/service-worker/lifecycle.

In particular, I thought the Google page was good at:
* explaining why the lifecycle is the way it is (for example, to ensure that a single page is controlled by the same service worker for its whole lifetime)
* defining terms like "client" and "scope" and "control" explicitly and up-front
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.