mdn/serviceworker-cookbook resource
It's online. It's offline. It's a Service Worker! observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3998
- days_rel: n/a
- days_push: 1401
- n_releases_24m: 0
Adoption not part of the score
2892 stars · 329 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of dozens of practical, working Service Worker recipes from Mozilla covering offline experiences, caching strategies, push notifications, and background sync. It serves as a learning resource for web developers from beginner to expert.
Use cases
- learn how to build offline-first web apps with service workers
- find example code for caching strategies in the browser
- implement push notifications on the web
- understand background sync in service workers
- make my website faster with service worker caching
- get started with the Service Worker API
When to choose
- you want runnable, annotated examples of Service Worker, Cache, Push, or Background Sync APIs
- you are learning offline-first web development from scratch
- you need reference recipes for common service worker patterns
When to avoid
- you need a production-ready service worker library with tooling like Workbox
- you need a maintained framework rather than example code
- you need support for non-browser environments
Facets
learning-resource · maturity maintenance
caching http-client developer-tools web-development frontend tutorials documentation browser service-worker offline-first progressive-web-apps push-notifications background-sync cache-api examples cookbook javascript nodejs
1 source
- readme: https://github.com/mdn/serviceworker-cookbook · fetched 2026-08-28 · b45f62153699
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mdn/serviceworker-cookbook | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="mdn/serviceworker-cookbook")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem