logo

Take control of Cache-Control and local caching

ID: 1952abf0-e5bb-539a-9888-91284b7a663d

STIX ID: report--1952abf0-e5bb-539a-9888-91284b7a663d

Feed Name: Pen Test Partners Blog

Date Published: 2025-03-12

Date Updated: 2026-03-26

Author: Kieran Larking

...
...

This document explains the HTTP Cache-Control header and browser caching, detailing directives like **no-store** (prevents any caching), **no-cache** (requires revalidation despite caching), **public**, **private**, **max-age**, and **must-revalidate**. It dispels common misconceptions (notably that no-cache does not block caching), and provides practical examples and guidance to balance performance and security: use **no-store** for sensitive data, **private** with short revalidation for user-specific but non-sensitive content, and **public** caching with longer lifetimes for generic static assets.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.