The Phantom of the App: Background Services
summary
Survey of concrete service worker features and limits: covers background fetch with pause/resume and access to bytes, periodic background sync (min ~12 hours, requires install and permission, runs on same network), and notification triggers that fire offline but always show a notification. Shows debugging via DevTools Application panel, notes most features are Chromium-only (push is also in Firefox), and stresses that periodic sync runs invisibly while notification triggers are visible.
AI-written summary · about
chapters (13)
- 0:00Introduction to background services
- 3:33What are background services
- 7:10Service worker lifecycle and events
- 11:47Debugging background services
- 13:11Payment handler API
- 14:54Background sync API
- 15:16Background fetch API
- 16:18Push messaging API
- 17:23Notification triggers vs periodic sync
- 22:59Periodic background sync in code
- 26:11Notification triggers in code
- 27:58Browser support and PWA focus
- 28:42Trade-offs and user experience
related talks
58mService workers - beyond the cache
17mService Worker and the Appification of the Web
25mOffline-enabled Web Apps
26mBrowsers behind your back
30mThe Beauty of Service Workers
38mThe Mysterious Life of Web Apps in the Background
01h 00mService Worker: Bringing Native App Experience to Web Apps
36mPWA underhood: what makes it so progressive
