Web Security · HTTP and hosting
Vary header
Also known as: Vary
The response header Vary names request headers a cache must compare when selecting a stored response. It separates variants within a cache key; it does not repair a base key missing the URL or Host. Vary: * prevents ordinary reuse of that response.
Where you practice it
- Cache Keys and Response ReuseWeb Security · Web Cache Poisoning & DeceptionPractice this lesson →
- Safe Key DiscoveryWeb Security · Web Cache Poisoning & DeceptionPractice this lesson →
- Detection and Incident ResponseWeb Security · Web Cache Poisoning & DeceptionPractice this lesson →
- Cross-Cache DefenseWeb Security · Web Cache Poisoning & DeceptionPractice this lesson →
- CORS DefenseWeb Security · CORS MisconfigurationPractice this lesson →