~/talk

Offline Second

TalkinRussianat HolyJS 2017 Piter · 2017-06-02..06-03· [pwa, frontend-architecture]
links:none on file
slides:none on file

Adds offline mode to a legacy AngularJS app in one month by implementing a Service Worker via Workbox, routing all network calls through a single request facade and a circuit-breaker to detect bad connections, and caching ~30–40 MB of domain data in IndexedDB with a user-triggered “cache” button. Does not implement full bidirectional sync; instead it postpones complex merge logic and only pushes local UI preferences to the server when online, yielding PWA behavior and a reported production revenue lift of up to 5%.

AI-written summary · about

  1. 0:00Introduction
  2. 5:58Legacy apps and business needs
  3. 10:15Legacy code rules and limits
  4. 12:47Offline mode definition and implementation
  5. 17:24Slow/unreliable connections
  6. 21:35Service Worker and its features
  7. 24:22HTTPS and mixed content issues
  8. 26:51Service Worker activation and updates
  9. 29:19Workbox and caching strategies
  10. 35:42Custom caching for complex cases
  11. 38:11Storing large client-side data
  12. 41:26Data loading and caching strategy
  13. 43:35Moving logic to client and data adapters
  14. 47:35Data sync and conflict resolution
  15. 50:29Cross-device sync technologies
  16. 53:22Sync protocols and libraries overview
  17. 54:25Project results and business impact
  18. 55:55Q&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.