Syntax - Tasty Web Development Treats

861: Local Data: Sqlite, LocalStorage, Session, Cookies and IndexDB


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

Syntax - Tasty Web Development TreatsBy Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

966 ratings


More shows like Syntax - Tasty Web Development Treats

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

377 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

273 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

247 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

42 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

586 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

629 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

275 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

The freeCodeCamp Podcast by freeCodeCamp.org

The freeCodeCamp Podcast

484 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

185 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

64 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

138 Listeners

PodRocket - A web development podcast from LogRocket by LogRocket

PodRocket - A web development podcast from LogRocket

58 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

53 Listeners