An offline-capable web app has several independent lifecycles: its page, service worker, local database, cache, and server record. An installable shell can load while its draft store is blocked or gone. This track follows a field inspector who edits cases without a connection and later receives a new app release. It covers waiting worker activation, IndexedDB schema changes, quota and eviction, and account-specific cache cleanup. The server remains the durable authority after synchronization; local state has a visible recovery plan.
Topics in this track
- Service Worker Activation and Unsent Work — Coordinate a waiting worker with open pages and unsent drafts before changing the fetch controller.
- IndexedDB Version Changes and Blocked Tabs — Migrate local schema only after older connections release it and preserve queued records across the change.
- Browser Storage Quota, Eviction, and Recovery — Budget local data, handle failed writes, and give unsent work an export or server path.
- Private Offline Cache and Account Switch — Keep account-scoped drafts and responses apart, then clear every local view on identity change.
Prerequisite paths
Service Worker Offline Fallback; IndexedDB for Local Drafts.
Neighbor track
Browser Cryptography and Key Custody.
Practice path
Build Project: offline case review across upgrades and check decisions in Web Development: offline and browser-key decisions quiz.
