~/talk

Sending your Angular App into deep, deep offline with Workbox

Talkat AngularNL 2019 · on Friday, 2019-03-08· [pwa]
slides:none on file

Claim is concrete: use Workbox to produce a custom service worker that precaches an application shell, handles runtime caching strategies, and queues API writes for delivery when connectivity returns. The build uses workbox-build’s injectManifest to inject a hashed precache list, bundles the worker with Rollup to tree-shake and minify, and wires update signals via broadcastUpdate / workbox-window plus background sync for deferred posts. This replaces Angular Service Worker when full control and advanced runtime logic are required; iOS background sync remains unsupported.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Maxim Salnikov
  3. 2:46What is PWA at all?
  4. 10:34Let's build an App shell
  5. 14:36Angular Service Worker
  6. 17:04Working modes
  7. 18:49Build script configuration
  8. 19:30Source service worker
  9. 20:34Precaching manifest
  10. 20:58Build flow integration
  11. 22:35Option #1: BroadcastChannel
  12. 23:24Option #2: Service worker lifecycle
  13. 25:36Was service worker file updated?
  14. 27:19Routes and strategies
  15. 31:48Deploying only what we use
  16. 33:03Using bundler
  17. 33:16Needed plugins
~/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.