Service Worker

Service worker lifecycle, caching strategies, background sync, push notifications, and static routing for progressive web apps. Covers Workbox v7.4 strategies (CacheFirst, NetworkFirst, StaleWhileRevalidate), workbox-precaching for app shells, Background Sync API with cross-browser fallbacks, Push API with VAPID keys, and the Service Worker Static Routing API (Chrome 123+). Use when registering service workers, implementing offline caching, configuring background sync, adding push notifications, optimizing fetch handling with static routes, or integrating service workers with local-first sync engines.

oakoss 25236ea 7 files · 56.8 KB Updated

File contents

oakoss/agent-skills/tree/main/skills/service-worker commit 25236ea605

Frequently asked questions

npx skillmds add oakoss/service-worker