{"uid":"cap_4LlvfokZUhZUkGbLPOS_8","slug":"cache-control-header-parser-1c9dd768","name":"Cache-Control Header Parser","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/cache-control-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"cache_control_parse"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cRM1IGTfpu8KZTNE4-JgJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a Cache-Control header value string into its structured directive components","exampleAgentPrompt":"Parse this Cache-Control header value for me: 'max-age=3600, s-maxage=86400, public, no-transform' and tell me what each directive means as a structured breakdown.","exampleUseCases":[{"title":"CDN configuration audit","prompt":"I need to inspect the Cache-Control headers coming back from our CDN — can you parse 'public, max-age=31536000, immutable' and tell me exactly which directives are set and what values they have?"},{"title":"Debug stale content issue","prompt":"Our users are seeing stale pages. The Cache-Control header on the response is 'no-cache, must-revalidate, max-age=0' — can you parse that and explain what caching behavior it enforces?"},{"title":"API response cacheability check","prompt":"Parse this Cache-Control value from our API response — 'private, no-store, no-cache' — and tell me if anything in there would prevent a reverse proxy from caching the response."}],"resultDescription":"Returns a structured JSON object with the parsed Cache-Control directives, including boolean flags for directives like no-cache, no-store, public, and private, plus numeric values for directives like max-age, s-maxage, and stale-while-revalidate. The operation field confirms the action performed.","failureModes":["Malformed or non-standard Cache-Control value may return unexpected parsed output","Empty or null value input may cause an error or empty result","Unrecognized proprietary directives may be omitted or returned unparsed","Service unavailability on the Render-hosted instance may return a 5xx error"],"whenToPreferThis":"Choose this endpoint when an agent needs to programmatically interpret Cache-Control header strings without implementing a full HTTP parsing library. Particularly useful in agentic workflows that audit caching behavior, validate CDN configurations, or dynamically adapt request logic based on server cache policies. The $0.01 USDC per-call x402 payment model makes it suitable for on-demand, low-volume parsing tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:18.697Z","isFirstParty":false,"canonicalSlug":"cache-control-header-parser-1c9dd768"}