~/talk

The Mysterious Life of Web Apps in the Background

links:none on file
slides:none on file

A test site uses WebSockets, requestAnimationFrame, CSS animations, setInterval, a Web Worker and a Service Worker to record what actually runs when pages hide: rAF and CSS animations stop; main-thread timers throttle to about 1s on desktop and 10s in Safari, 500ms throttling on iOS/iPadOS; Chromium-based PWAs get up to 5 minute worker/service-worker execution, Firefox stops pages immediately (service worker ~30s). Covers Page Visibility API, Page Lifecycle freeze/resume, Clients API and polyfills plus strategies to save/restore state.

AI-written summary · about

  1. 0:00Introduction
  2. 1:21Why background behavior matters
  3. 2:24Spying on background apps
  4. 6:37Desktop background behavior
  5. 8:00iOS background behavior
  6. 11:14Android background behavior
  7. 16:50Timer throttling summary
  8. 19:21Detecting background state
  9. 22:34Executing code in background
  10. 25:41Key takeaways
  11. 26:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.