Cache-Control Header Builder
Network
Composes a valid Cache-Control header following RFC 9111. Tick the directives you need (no-cache, no-store, immutable, …), set the freshness windows (max-age, s-maxage, stale-while-revalidate, stale-if-error), and copy the resulting header. Includes four presets covering the most common deployment patterns: immutable static asset, private rendered page, public API response with stale serving, and full no-store.
Cache-Control: public, max-age=3600no-store overrides every other directive — when it's on, only no-transform is also emitted.
How to use
- Start from a preset that matches your scenario, then tweak.
- Numeric fields take seconds — leave them blank to omit the directive entirely.
- Copy the result into your origin server, CDN rule, or framework's response headers.
Frequently asked questions
- When should I use immutable?
- Pair it with a long max-age (a year is common) on assets whose filename contains a content hash. The browser then skips the conditional revalidation it would otherwise do on a soft refresh.
- no-cache vs no-store?
- no-cache means a stored copy must be revalidated before use; no-store means do not store at all. no-store wins when the response contains private data that must never sit on disk.
Related tools
IP Address Inspector
Type an IPv4 or IPv6 address and see its class, scope (private / public / loopback / link-local), decimal value, binary, reverse-DNS notation, and /32 CIDR.
Port Number Reference
Searchable cheat sheet for ~60 standard TCP / UDP port numbers — from 22 (SSH) and 80 (HTTP) to 6379 (Redis) and 27017 (MongoDB).
DNS Record Reference
Searchable cheat sheet for DNS record types — A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV, CAA, DNSSEC, SVCB / HTTPS — with examples.
Subnet Calculator (IPv4 / CIDR)
Parse an IPv4 CIDR into network address, broadcast, netmask, wildcard, host range, and class. Shows binary breakdown and private/public status.
User Agent Parser
Parse a User-Agent string into browser, engine, OS, device, and CPU. Detects 20+ bots including GPTBot, ClaudeBot, PerplexityBot.
HTTP Status Code Reference
Searchable list of every HTTP status code (1xx-5xx) with summary, RFC, when to use, and common pitfalls.