meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

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

Syntax - Tasty Web Development Treats

Wes Bos

Js, Technology, Css, Html5, Tech News, Webdevelopment, News, Javascript, Html

4.91.1K Ratings

🗓️ 16 December 2024

⏱️ 25 minutes

🧾️ Download transcript

Summary

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

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

Transcript

Click on a timestamp to play from that location

0:00.0

Welcome to Syntax on this Monday, Hasty Treat.

0:03.8

We're going to be talking about local data.

0:05.9

Locally right now, Wes, I'm trying to get a snack in.

0:08.3

I don't know if you've ever had these rice mochi balls from Trader Joe's, but holy cow, they're my favorite thing in the whole world.

0:15.7

It takes great restraint for me not to eat them.

0:18.7

Eat the whole bag, yeah. Yeah, I don't keep them locally in my office usually because then I'll need to access

0:23.7

them all the time.

0:25.4

But if you need to access your data locally, we're going to be talking about that in

0:29.2

this episode.

0:30.1

But what happens if you need to access your data locally and that data's not there and

0:34.6

you're not checking to see if it's there correctly?

0:37.4

Well, you're going to to see if it's there correctly. Well,

0:37.7

you're going to get a bug in your site. And oftentimes, you know, with this stuff, especially

0:42.1

if we're talking about syncing engines, making sure the data is where it's supposed to be.

0:46.0

You can often get in these situations where we think we're in the happy path all the time.

0:50.6

And oftentimes we might not even realize what that happy path is. I experience that

0:54.6

all the time on my habit path app because I use local data and data syncing. And man, it is hard

1:00.0

to solve those bugs, but not with Century because Century lets me know who has what issues at any

1:05.8

given point in my application. And I know what's happening beyond the Happy path. It works for me. All my data is

1:12.7

local. It works. Nothing but sad paths in your century. Just a sad place to be. You know what?

1:20.2

The best part is, too, you know, Courtney also uses habit path. And just like most things,

1:25.2

when other people use your stuff, it's really nice for them to be like,

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.