Imagine serving content instantly while fetching a fresh version in the background. Discover how modern caching headers can eliminate wait times for your users.
#1about 5 minutes
Why reverse caching proxies are essential for performance
A reverse caching proxy sits between users and your origin server to protect it from overload and accelerate content delivery.
#2about 5 minutes
Understanding the basic Cache-Control header directives
The Cache-Control header uses directives like public, private, and max-age to define caching scope and duration for browsers and shared caches.
#3about 2 minutes
Using s-maxage to set different cache durations
The s-maxage directive allows you to set a specific time-to-live (TTL) for shared caches, which overrides the general max-age directive.
#4about 5 minutes
Optimizing revalidation with conditional requests
Use ETag and Last-Modified headers to enable conditional requests, allowing servers to respond with a 304 Not Modified to save bandwidth and resources.
#5about 3 minutes
Improving resilience by serving stale content
The stale-while-revalidate and stale-if-error directives allow caches to serve stale content while revalidating in the background or during origin failures.
#6about 3 minutes
Controlling strictness and preventing caching
Use directives like must-revalidate, no-cache, and no-store to enforce strict content freshness or prevent caching altogether for sensitive data.
#7about 2 minutes
Using the Vary header for content negotiation
The Vary header instructs caches to store different versions of a resource based on request headers like Accept-Language, enabling content negotiation.
#8about 2 minutes
Controlling multi-tier caches with surrogate headers
Surrogate-Control and Surrogate-Capability headers provide granular control over multi-tier caches and enable advanced edge computing features.
#9about 3 minutes
Composing pages at the edge with Edge Side Includes
Edge Side Includes (ESI) allow you to assemble web pages from different fragments at the cache layer, each with its own caching policy.
Related jobs
Jobs that call for the skills explored in this talk.
Dev Digest 215: Agent Memory, JS2026, Googlebot Analysis & Canvas❤️HTMLInside last week’s Dev Digest 215 .
🗿 Make AI talk like a caveman
🧠 A guide to context engineering for LLMs
🤖 Simon Willison on agentic engineering
🔐 Axios supply chain attack post mortem
🛡️ Designing AI agents to resist prompt injection
🎨 HTML in c...
Chris Heilmann
Why Presentations Should Always Work Offline—Even at Online ConferencesWe just finished the WeAreDevelopers World Congress 2025 in Berlin, and I am still recovering from the event. It was a fantastic experience, and I am grateful to everyone who attended and made it a success. As the main moderator of the main stage, I ...
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
From learning to earning
Jobs that call for the skills explored in this talk.