~/talk

Let’s Sync Up! Tips and Tricks to Add Offline Sync to Your App with Confidence

Talkat Chicago Roboto 2020 · 2020-09-28..09-29· [pwa, web-performance]
slides:none on file

Shows a concrete migration from many small calls to a single offline endpoint—6000 requests down to 1—and argues for designing separate sync endpoints, packing only needed fields, and syncing assigned or role‑scoped items. Recommends Room/relational stores for complex data, contrasts Realm, and suggests Jetpack WorkManager for background work and silent push notifications for efficient updates. Pushes server authority: use server‑managed unique IDs and let the server resolve collisions.

AI-written summary · about

  1. 0:00Introduction
  2. 2:07Why Offline Sync
  3. 3:22Key Workflow
  4. 5:26Offline Functionality
  5. 8:17Create Separate Endpoints
  6. 10:29Store the Data You Need
  7. 12:48Update Only Modified Records
  8. 13:54File Storage
  9. 15:40Background Sync
  10. 16:40Update Notification
  11. 20:14Primary Keys
  12. 24:03Push Data
  13. 24:35Avoid Complexity
  14. 28:12Offline First
  15. 30:22Wrap Up
~/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.