Explain
Cache-Control
Controls browser and intermediary caching behavior for responses.
InfoCategory: caching
What it is
Cache-Control sets caching rules: whether something can be cached, for how long, and by whom.
Common patterns
- Static assets: public, max-age=31536000, immutable
- HTML pages: may be no-cache or short TTL depending on content
- Sensitive content: no-store
Related guides