~/talk

Introduction to Offline First Web Applications

Talkat Build Stuff 2022 · 2022-11-09..11-11· [pwa, web-platform]
slides:none on file

A replaceable Webmail PWA is built to work offline by wiring service workers to intercept requests, using the Cache API for assets and IndexedDB (115 MB used in one demo) for large local state, and queuing user actions to replay on reconnect; the Background Sync API (Chrome/Edge only) and the Persistent Storage API protect queued data from eviction. Tooling suggestions include Workbox, PouchDB/RxDB and Replicache-style replication, and a custom action-queue layer is shown that mutates local state immediately and reconciles or reverts changes after the server response.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32The need for offline apps
  3. 3:37Defining PWA and problems
  4. 7:34Service workers and caching
  5. 11:07Background sync API
  6. 12:57Storage technologies
  7. 19:07Existing tooling and tools
  8. 21:45Architecture approach
  9. 23:59Introducing RMIJS
  10. 27:48Implementing mutations
  11. 30:00Live demo and results
  12. 33:33Open source plans
  13. 34:48Q&A session
~/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.