World Congress 2025

HTTP headers that make your website go faster

July 11, 2025 10:20 – 10:50 · 30 min Stage 9

What this session covers

Achieving your web performance and scalability goals often requires the use of caching. Did you know that HTTP comes with a set of built-in conventional caching mechanisms?

In this presentation, we’ll take a closer look at these caching mechanisms, and the HTTP headers that are used to enforce the caching behavior.

We’ll look at a typical “Cache-Control” header and dissect the various directives that this header offers. Covering topics like TTL, tolerated staleness, caching scope, error handling and revalidation.

There are more headers that HTTP offers to control the behavior of the cache. Headers like “Vary” to set cache variations. Or “Etag” and “If-None-Match” to perform conditional revalidation. And also “Surrogate-Capability” and “Surrogate-Control” to perform edge compute logic and handle edge-side includes.

And while this is not a Varnish-specific presentation, I will be using Varnish as the implementation to showcase the power of HTTP’s built-in caching capabilities.

performance

World Congress 2025

Related talks

Open session

Blazing Fast Page Navigation with Speculation Rules

  • Medhat Dawoud

    Miro

    Senior Software Engineer

Open session

IP Authentication: A Tale of Performance Pitfalls and Challenges in Prod

  • Christoph Eicke

    Statista

    Engineering Manager

Open session

High performance Serverless Java on AWS

  • Vadym Kazulkin

    ip.labs

    Head of Development

Open session

Lessons learned from building a thriving Vue.js SaaS application

  • Abdelrahman Awad

    Rasayel.io

    Senior Engineer

All sessions at this congress