~/talk

Service Workers & Cows — a love story

Talkat ngAtlanta Conf 2018 · on Friday, 2018-02-02· [pwa, web-platform]
slides:none on file

Service workers turn a slow 6 megabit Internet into a usable site by caching assets and API responses; this demo uses Angular’s service worker via npm install @angular/service-worker, an ngsw-config.json with custom dataGroup routes, ng build --prod and a static HTTP server with --proxy to localhost:8801. Expect painful dependency upgrades, ng serve not supporting service workers, long builds (stalled at chunk optimization), cached assets delaying visible updates, and finally offline pages and cached tags/articles working as intended.

AI-written summary · about

  1. 0:00Introduction
  2. 3:58Service workers as pain relief
  3. 6:25Adding to ng-doc.io
  4. 10:21Enabling the service worker
  5. 13:31Building and serving the application
  6. 16:38Testing offline
  7. 21:15Updating cache and logo
  8. 25:31Fetching via proxy
  9. 27:38Custom caching
  10. 29:24Why service workers matter
  11. 30:09Q&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.