How We Built a Netflix Style “Save for Offline” Feature Into Syntax

  Рет қаралды 2,602

Syntax

Syntax

Күн бұрын

Scott and Wes dive into the world of browser caching for audio files, exploring the File System API and the Cache API. They discuss size restrictions across different browsers, how tools like Riverside.fm leverage IndexedDB, and walk through code examples for creating, retrieving, and managing cached audio data.
Show Notes
00:00 Welcome to Syntax!
02:07 Brought to you by Sentry.io.
02:33 The file system API.
03:08 The Cache API.
04:24 Size restrictions per browser.
07:04 How tools like Riverside.fm use IndexedDB.
08:47 Data eviction (too much data).
10:16 What we’re using it for and how.
12:17 How do we do this in code?
14:37 Creating the cache.
16:18 Retrieving from cache manually.
19:00 Adding metadata.
19:37 A live debugging.
22:39 Persistent storage.
26:10 Media score.
All links available at syntax.fm/783
------------------------------------------------------------------------------
Hit us up on Socials!
Scott: / stolinski
Wes: / wesbos
Randy: / @randyrektor
Syntax: / syntaxfm
www.syntax.fm
Brought to you by Sentry.io
#webdevelopment #webdeveloper #javascript

Пікірлер: 6
@dually888
@dually888 10 күн бұрын
Great episode! Welcome back, Wes! I had no idea the cache api existed, so it sounds like I have a fun weekend project coming up lol
@omomer3506
@omomer3506 4 күн бұрын
This was a fun episode,
@usame.cetinkaya
@usame.cetinkaya 7 күн бұрын
12:23 Oh, wow! That's a lot of indentation.
@stolinski
@stolinski 6 күн бұрын
What’s your personal max depth limit? This is 7 levels deep at the highest, not awful. Sure you could make it less but it reads fine. Once Svelte 5 drops I’ll have to refactor anyway so will get a chance to slim down.
@usame.cetinkaya
@usame.cetinkaya 6 күн бұрын
@@stolinski I'm fine with nesting 7 levels deep, but personally I can hardly follow code if the indentation is mode than 4 spaces 😊 It's so cool to get a reply from Mr. Tolinski himself, what a wonderful world 😄
Web Development Q&A × Logging × Blogging × Freelancing
55:36
I Parsed 1 Billion Rows Of Text (It Sucked)
39:23
Theo - t3․gg
Рет қаралды 59 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 58 МЛН
UFC Vegas 93 : Алмабаев VS Джонсон
02:01
Setanta Sports UFC
Рет қаралды 224 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 48 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
11 Habits of Highly Effective Developers
50:50
Syntax
Рет қаралды 4,3 М.
Iced vs Slint  | Rust GUI Wars #1
10:07
Creative Coders
Рет қаралды 2 М.
Migrating from Postgres to SQLite with Kent C. Dodds
57:02
Aaron Francis
Рет қаралды 7 М.
JavaScript Is A Totally Normal Language
46:04
Theo - t3․gg
Рет қаралды 42 М.
LangChain Master Class For Beginners 2024 [+20 Examples, LangChain V0.2]
3:17:51
How React 19 Almost Broke The Web
55:40
Theo - t3․gg
Рет қаралды 81 М.
Why SQLite is Taking Over with Brian Holt & Marco Bambini
50:31
TypeScript 5.5 is a BANGER
9:16
Matt Pocock
Рет қаралды 54 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,7 МЛН