~/talk

Going offline with Service Worker

Talkat GDG DevFest Ukraine 2016 · 2016-09-09..09-10· [web-platform]
slides:none on file

Live demos register a service worker with navigator.serviceWorker.register, intercept fetch events and use the Cache API to implement cached articles, network-then-cache pages, stale-while-revalidate stats, and a generic-avatar fallback; code clones responses because responses are streams. Push uses Chrome/GCM endpoints via the registration.pushManager and prefetches payload before showing notifications. Background sync registers named sync events so failed form submits retry when online. Sixty-six percent support is cited and devtools show service worker, cache storage and fake push controls.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Web is powerful
  3. 1:45Web platform gaps
  4. 2:28About Konrad
  5. 3:19Service Worker
  6. 4:03Reduce Service Worker
  7. 5:41URL Object
  8. 6:23Fetch API
  9. 6:58Response Object
  10. 7:50Cash API
  11. 9:37Example
  12. 10:30Fetch events
  13. 12:36Service Worker implementation
  14. 13:29Network
  15. 13:55Categories
  16. 14:48Avatars
  17. 16:24Mock requests
  18. 16:50Push
  19. 17:11Manifest
  20. 17:46Registration
  21. 20:18Background synchronization
  22. 21:15Single event sync
  23. 22:00Register Service Worker
  24. 22:52Service Worker Event
  25. 23:23Dev Tools
  26. 25:13Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.