An empty database in everybody's pocket
summary
IndexedDB is usable now in almost every browser and stores real JavaScript objects, so the demo actually builds a Twilio emoji chat that writes messages into a messages object store, reads them back with a cursor for instant rendering, and keeps an index by updated date for sorted queries. Known pitfalls include the Safari 8/9 bug that drops records with duplicate IDs and the low‑level API, so use wrappers like idb or Dexie or localForage to get promises, bug workarounds, and simpler versioned upgrades.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:13Problems
- 2:08Poor connectivity
- 2:32Offline Resiliency
- 2:51User experience
- 3:20Progressive Web Apps
- 4:33Cookies
- 5:15LocalStorage
- 8:52Transactional
- 9:05Asynchronous
- 23:01Indexes
- 23:43Upgrades
- 24:52Safari
- 26:01Libraries!
- 30:21Performance
related talks
20mAn empty database in everybody's pocket
31mBrowser database for offline application use
38mMoving seamlessly through offline and online
32mThis Is Your Captain Speaking, We're Going into Airplane Mode!
32mThe hitchhiker's guide to client side persistent data storage
35mBrowsers behind your back
30mWriting apps on the edge with CouchDB
40mWeb Apps without Web Servers
