
technologyDec 16, 202424:57pending
861: Local Data: Sqlite, LocalStorage, Session, Cookies and IndexDB
About this episode
Scott and Wes dive into the world of local data storage, breaking down the pros and cons of Sqlite, LocalStorage, SessionStorage, Cookies, and IndexedDB. They cover real-world use cases like user settings, offline data, and auth tokens, while sharing their favorite tools and strategies for keeping your data fast and secure.
Show Notes 00:00 Welcome to Syntax!
00:30 Brought to you by Sentry.io.
01:43 Why store data locally. 01:55 User preferences and settings.
02:50 Not logged in state (shopping carts, etc).
03:30 Data for faster loading.
03:51 Privacy concerns.
04:25 Large files or drafts.
05:50 Auth tokens.
07:08 Where to store data. 07:11 Cookies.
07:48 Local storage.
09:15 Session storage.
10:35 IndexedDB.
12:15 BYOJS Storage.
13:41 SQlite via WASM.
14:12 Penalties of SQLite in browser via WASM.
15:29 PGLite.
16:23 Dealing with migrations.
16:55 The advantages of the approach.
18:42 Dexie.
19:59 Patch messages.
21:25 A few options. TinyBase Docs.
Local First Web.
Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
Get every episode summarized
Each time Syntax - Tasty Web Development Treats publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Syntax - Tasty Web Development Treats

995: Next.js Vendor Lock-in No More
Syntax - Tasty Web Development Treats
Apr 13, 20261:04:18failed

994: AI Sucks At CSS
Syntax - Tasty Web Development Treats
Apr 8, 20261:00:16failed

993: It’s Been A Hell Of Week
Syntax - Tasty Web Development Treats
Apr 6, 202638:12failed

992: Migrating Legacy Code Just Got Easier
Syntax - Tasty Web Development Treats
Apr 1, 202629:07failed