logo
episode-header-image
Apr 2021
18m 59s

Browser Caching best practices, when to ...

Hussein Nasser
About this episode

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

Up next
Aug 23
How open ai agents "hacked" hugging face
How open ai agents "hacked" hugging face 
17m 57s
Jul 10
How a query optimization gave birth to infinite scroll
The infinite scroll in social media as we know it today is despised by all. But it always start as a bad idea. It originated as a result of UI change to relief the backend database from inefficient queries. I explore this in this episode of the backend engineering. 0:00 Intro1:00 ... Show More
21m 20s
Jun 17
Postgres is half as fast in Linux 7.0
An aws engineer discovered a 50% regression in postgres throughput while testing the new Linux 7.0 kernel. The cause turns out to be massive TLB and page faults exacerbated by Postgres process-based design. In this backend engineering show episode I dive deep into how this was di ... Show More
34m 8s
Recommended Episodes
Apr 2024
753: Cache Ruins Everything Around Me
Scott and Wes dive into the cache problem, tackling user-specific data and caching security. From marketing A/B testing to content negotiation, they explore various challenges and solutions, including different URL/query parameters, edge logic, and client-side caching. Show Note ... Show More
24m 6s
Jan 2022
125 - Object Caching Systems
Many people have heard the names "redis" or "memcached" but fewer people know what these tools are good for or why we need them so badly. In this show, Patrick and I explain why caching is so important and how these systems work under the hood. 
1h 14m
May 2022
Cache Control Headers Explained
In this Hasty Treat, Scott and Wes answer a question about caching, cache control headers, an explanation of the fields for caching. Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monit ... Show More
25m 57s
Jun 2022
S3 E14 - Maintainable Solutions With Design Systems
Everyone working in application development deals with the problems addressed by design systems. In this Episode, we discuss with Wade Harkins about the benefits of Design Systems, how to implement them with your team, some of the unexpected hurdles that can arise along the way, ... Show More
57m 32s
Aug 2020
Episode 109 - Quick pour - Web Performance
Web performance continues to be an input factor to prioritize when building web applications. In this episode, we speak with Google engineers, Kristofer Baxtor, and Jason Miller about the latest best practices in web performance. Guests: Kristofer Baxter - @kristoferbaxter Jason ... Show More
1h 7m
Dec 2023
#644: Amazon ElastiCache Serverless
In this episode, we’re diving deep into one of the recent announcements from AWS re:Invent, the release of Amazon ElasticCache Serverless. This new option allows customers to create a cache in under a minute and instantly scale capacity based on application traffic patterns. Jill ... Show More
18m 30s
Aug 2025
Lazy loading demystified
Optimize your website's performance with lazy loading techniques. In this episode, John Mueller and Martin Splitt discuss lazy loading, and its SEO implications. Find out how lazy loading affects indexing, ranking, and Core Web Vitals. Whether you're using native lazy loading or ... Show More
24m 31s