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

The Backend Engineering Show with Hussein Nasser

Episode | Podcast

Date: Wed, 07 Apr 2021 05:00:00 GMT

<p>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</p> <p>https://jakearchibald.com/2016/caching-best-practices/</p> <p>0:00 Intro</p> <p>2:00 Pattern 1: Immutable content + long max-age</p> <p>5:40 Pattern 2: Mutable content, always server-revalidated</p> <p>8:00 max-age on mutable content is often the wrong choice</p> <p>12:20 CDN and Caching</p> <p>Article</p> <p>https://jakearchibald.com/2016/caching-best-practices/</p> <p><a href="https://twitter.com/jaffathecake">https://twitter.com/jaffathecake</a></p>