Offline is the new black
summary
Demo shows working code: a register line, a service worker that listens to install and fetch, cache open/add and cache-match-and-fetch logic, and a manifest.json used for Add to Home screen. Browser-support tradeoffs are explicit — UC Browser prominence and iOS lacking ServiceWorker — and AppCache fallback is discussed. Live demos include airplane‑mode loading, claiming/activating the worker, an offline availability UI, and notes on cloning requests, avoiding caching errors, and syncing queued requests when online.
AI-written summary · about
chapters (8)
- 0:00Start
- 14:58install a serviceworker
- 15:44take a look into our main javascript file
- 16:14set a cache
- 16:47wait for the install event
- 23:06start testing your websites on uc browsers
- 29:37show an offline message
- 33:10use app cache
related talks
52mGoing offline
23mGo Offline with Service Workers
43mService workers
39mOffline first!
01h 29mService Workers in Action: Building an Offline-Capable Webshop in under 90 minutes
05mLightning talk: Service Workers, use them
33mThe New Mobile Web: Service Worker, Push, and App Manifests
44mDesign principles and implementation strategies for better offline experience
