{"slug":"saylorinnovations-com-api-dev-cache-control-7ff8a3","title":"Analyze a Cache-Control header","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/dev/cache-control","category":"commerce","description":"Analyze a Cache-Control header - browser and CDN freshness, no-store and no-cache handling, stale-while-revalidate and conflicting directive warnings","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":285,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"header":"public, max-age=3600, s-maxage=86400, stale-while-revalidate=60"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"header":{"description":"Cache-Control header value, e.g. public, max-age=3600","type":"string"}},"required":["header"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"browser_cacheable":{"description":"Browser cacheable","type":"boolean"},"browser_fresh_for":{"description":"Browser fresh for","type":"string"},"browser_fresh_for_seconds":{"description":"Browser fresh for, in seconds","type":["number","null"]},"directives":{"description":"Parsed directives and values","properties":{"max-age":{"description":"max-age in seconds","type":["string","null"]},"public":{"description":"public directive present","type":["boolean","null"]},"s-maxage":{"description":"s-maxage in seconds","type":["string","null"]},"stale-while-revalidate":{"description":"stale-while-revalidate in seconds","type":["string","null"]}},"type":"object"},"header":{"description":"Header as supplied","type":"string"},"immutable":{"description":"True when the immutable directive is set","type":["boolean","null"]},"revalidate_every_time":{"description":"Revalidate every time (UTC unless a time zone is given)","type":["boolean","null"]},"shared_cache_cacheable":{"description":"Shared cache cacheable","type":"boolean"},"shared_cache_fresh_for":{"description":"Shared cache fresh for","type":"string"},"shared_cache_fresh_for_seconds":{"description":"Shared cache fresh for, in seconds","type":["number","null"]},"source":{"description":"Data source the values come from","type":"string"},"stale_if_error_seconds":{"description":"Stale if error, in seconds"},"stale_while_revalidate_seconds":{"description":"Stale while revalidate, in seconds","type":["number","null"]},"verdict":{"description":"Overall assessment derived from the listed reasons","type":"string"},"warnings":{"description":"Conflicting or ineffective directives","type":"array"}},"required":["header","verdict","warnings"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":285,"error":null}],"description_full":"Analyze a Cache-Control header - browser and CDN freshness, no-store and no-cache handling, stale-while-revalidate and conflicting directive warnings","last_updated":"2026-10-20T14:45:40.35Z","schemes":["exact"]}