The hitchhiker's guide to client side persistent data storage
summary
Claims that localStorage is best for key/value needs and that IndexedDB promises true object storage; compares engines: sqlite reads fast but writes painfully slow (1 MB chunks can take seconds or half a minute on mobile), Chrome imposes a single-field limit and sqlite sometimes fails silently, Safari caps localStorage at 2 MB while spec recommends 5 MB and Firefox grants ~200 MB for offline apps; a tiny storage.js wrapper exists and client-side encryption proves too slow in practice.
AI-written summary · about
chapters (11)
- 0:00Start
- 3:26Cookies
- 3:57userData
- 5:04globalStorage
- 9:48localStorage
- 16:24IndexedDB
- 18:07File API
- 19:15plugin based
- 19:55multi-engine
- 20:53standalone
- 24:16Size Limits
related talks
51mFront End Data
10mStorage for the web
38mHow we developed an Offline‑First app using Persistent Storage
41mThe Insecurity Caused By Trusting Your Client-Side Storage
20mAn empty database in everybody's pocket
31mAn empty database in everybody's pocket
31mBrowser database for offline application use
48mThe Web's future is offline
