15min chapter

Syntax - Tasty Web Development Treats cover image

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

Syntax - Tasty Web Development Treats

CHAPTER

Exploring Various Data Storage Mechanisms in Browsers

This chapter delves into the differences between local storage, index DB, cookies, cache API, service worker, and file system API for storing data in browsers. It covers the limitations of caching, implementing a Netflix-style 'save for offline' feature using IndexedDB, utilizing media recorder and getUserMedia for storing video chunks, and handling errors like 'Failed to fetch MP3' and 'Failed to construct a response'.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode