Headers Security
medium Severity
Free Check
Cache-Control for Sensitive Endpoints
Ensures authenticated and sensitive endpoints return Cache-Control: no-store to prevent caching on shared proxy servers.
Why It Matters
Public or intermediary caches storing private account responses can expose personal data to other users.
How We Check This
We analyze Cache-Control headers on user profiles and API routes for no-store, no-cache, must-revalidate directives.
How to Fix & Implement
Copy-paste configuration blocks tailored for your web server or edge proxy.
nginx snippet
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always;
Frequently Asked Questions
What does no-store do?
It instructs both browser caches and intermediate proxies never to save any copy of the response.