~/talk

Automatic Progressive Web Apps using Angular Service Worker

Talkat AngularConnect 2017 · 2017-11-07..11-08· [angular, pwa]
slides:none on file

Automatic setup uses Angular CLI flags to add an Angular Service Worker and drops ngsw-worker.js and ngsw.json into the dist on production builds, or can be retrofitted to CLI 1.5 by generating the manifest, copying files and adding npm scripts. Configuration file declares asset groups and data groups with installMode/updateMode and caching policies (e.g. network-first or cache-first). Push uses SwPush subscription and a backend payload with a notification property, and updates surface through the available observable so the app can prompt to reload.

AI-written summary · about

  1. 0:00Start
  2. 1:48Progressive Web App
  3. 2:0810 characteristics
  4. 2:34Service Worker API
  5. 4:36Frameworks
  6. 5:33Generate a new Angular PWA
  7. 7:51Registering NGSW
  8. 8:38NCSW configuration file
  9. 10:52App shell / on-demand
  10. 13:45Manual build support for Angular CLI 1.5
  11. 17:36App version updates
  12. 18:51Check for updates
  13. 19:52Main available features
  14. 20:09Angular Service Worker advantages
  15. 20:58On the roadmap
~/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.