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.
Matching moments
05:43 MIN
Implementing an HTTP reverse proxy cache with Varnish
Advanced Caching Patterns used by 2000 microservices
01:31 MIN
Optimizing cache efficiency with a dedicated sharded layer
Scaling: from 0 to 20 million users
01:32 MIN
Leveraging caching and edge computing for efficiency
Sustainable me. A tale of good design.
12:03 MIN
Q&A on caching strategies and implementation details
Advanced Caching Patterns used by 2000 microservices
02:46 MIN
Moving to the cloud and implementing Varnish cache
Scaling: from 0 to 20 million users
01:59 MIN
Re-evaluating the performance benefits of using a CDN
WeAreDevelopers LIVE: Scammer Payback with Python, Grok Goes Unhinged, The Future of Chromium and mo
03:41 MIN
Reducing server load with build steps and caching
Sleek, Swift, and Sustainable: Optimizations every web developer should consider
03:50 MIN
Building offline-ready apps with a robust caching strategy
Dev Digest 139 - Soft and hard queriesNews and ArticlesLet's start with Amelia Wattenberger's excellent essay Bridging the hard and the soft talking about humans and data. Do you sometimes also miss aspects of the early web like a lack of big data and freedom to create without numeric go...
Chris Heilmann
Processing 175 WeAreDeveloper World Congress talk videos in 5 hours - with PHP?Every year after the WeAreDevelopers World Congress is over, we have a ton of video footage to edit and release. Most of it is in raw format and needs editing by hand, but a lot of our sessions are also streamed live on YouTube and thus easier to re-...
Chris Heilmann
Dev Digest 116 - WWWAI?This time, learn how to un-AI Google's search results, what's new on the web, avoid a new security hole and go back to BASICS with us. News and ArticlesWhat a week. Google, Microsoft, OpenAI and many others had their big flagship events announcing th...
Chris Heilmann
Dev Digest 109 -Egg-citing things…As we are heading into the Easter break, here are some things to spend some time on. There's resources on improving the performance of your code and you hear from the winners of CODE100 Amsterdam what it was like to be on stage. Also, hang tight as t...
From learning to earning
Jobs that call for the skills explored in this talk.