Cache-Control Security Check
Analyse Cache-Control and warn when sensitive content may be cached by proxies (missing no-store, private, etc.).
—
Cache-Control on an authenticated page
A response carrying session data left in a cache is a classic leak: a statement sits in the browser cache of a shared computer, or worse, an intermediate proxy serves one user's page to another. The Cache-Control header is what prevents that, and the difference between directives that look equivalent is exactly where most people get it wrong.
Enter the header and tick whether the response carries a cookie or requires authentication, and the page points out what is loose. The distinction that matters most is between the directive forbidding storage and the one demanding revalidation: the first prevents storing at all; the second allows storing and merely requires checking before reuse — and checking against a server that is down, or with an already-expired session, can hand back the stored copy.
For authenticated content, the usual combination forbids storage and marks the response private, which blocks shared caches. Remember that browsers treat the back button specially: without the explicit prohibition, the page can reappear from memory even after logout. And that omitting the header does not mean no caching — it means letting the browser decide by heuristic, which tends to be generous.
Frequently asked questions
What is the difference between forbidding storage and requiring revalidation?
What does the private directive do?
Why does the page come back after logout?
Related Tools
Common Password Blacklist Check
Checks a password against the top 1000 most-used passwords, fully client-side, and flags it as compromised.
Password Strength Checker
Analyze the strength of any password: length, character classes, entropy in bits and resistance estimate. Processed in the browser — the password never leaves your device.
CORS Config Validator
Validate a CORS configuration (allowed origins or *), checking the format and duplicates. Useful for safely configuring APIs and web servers.
X-Content-Type-Options Header Check
Confirm X-Content-Type-Options is set to nosniff and explain MIME-sniffing risks when the header is missing.
Bcrypt Hash Generator
Generate secure bcrypt hashes from passwords and verify whether a password matches an existing bcrypt hash.
TOTP vs HOTP Comparison
Compares TOTP and HOTP characteristics in a table and shows how each derives the one-time code.