Back to Free Tools
FREE TOOLS
Cache-Control Builder and Inspector
Build a finite Cache-Control field or inspect ordered directives, values and explicit syntax diagnostics.
Cache-Control field value, Explicit builder options
cache-control.txt, cache-control-report.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose Build or Parse. Enter the selected options or one Cache-Control field value.
- Select Build or inspect Cache-Control and inspect the ordered directives and diagnostics.
- Download cache-control.txt and cache-control-report.json.
Examples
public, max-age="003600" retains the quoted source value and reports numeric delta seconds 3600 with a quoted-value diagnostic.
Limitations
- One ASCII field up to 65536 units and 100 directives; each selected numeric builder field is at most 65536 units. At most 1 MiB combined output and 30 seconds. No field-name prefix, controls or message framing.
- Known numeric directives are max-age, s-maxage, stale-while-revalidate and stale-if-error. Token or quoted ASCII digits admit leading zeros and values 0–2147483647. Missing, nondecimal or out-of-range known values refuse.
- Builder no-store emits only no-store and ignores the other builder controls. Parser duplicates and coexistence are diagnostics, without an effective-policy winner. Quoted private/no-cache field lists are retained without evaluating their field-list semantics. Other extensions remain raw. No server, browser or CDN simulation.
Related tools
No items found.