Browser Caching best practices, when to use no-cache vs max-age without breaking your site - podcast episode cover

Browser Caching best practices, when to use no-cache vs max-age without breaking your site

Apr 07, 202119 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Caching is the hardest problem in building software, and having the browser cache is not any different. In this video, I'll discuss Jake Archibald's article

https://jakearchibald.com/2016/caching-best-practices/

0:00 Intro

2:00 Pattern 1: Immutable content + long max-age

5:40 Pattern 2: Mutable content, always server-revalidated

8:00 max-age on mutable content is often the wrong choice

12:20 CDN and Caching

Article

https://jakearchibald.com/2016/caching-best-practices/

https://twitter.com/jaffathecake

For the best experience, listen in Metacast app for iOS or Android