Browsers behind your back
summary
Service Workers plus a small queued outbox in IndexedDB with idb let browsers capture POSTs while offline and automatically replay them via the Background Sync API when connectivity returns. Demo app saves SMS messages to an outbox, calls registration sync.register('outbox'), and the service worker uses fetch POSTs to send and then deletes entries; tested against Twilio on Chrome (49+ and Samsung Internet) — initial run returns 400/404 due to a URL typo but finally worked after fix.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:13Offline web apps today
- 5:10Service Worker basics
- 8:29IndexedDB for storage
- 15:20Background Sync API
- 24:45Future background APIs
- 33:07Demo and conclusion








