http-cache-explain
HTTP cacheability, CORS and redirect-loop explainer — Explains from supplied response headers (and optionally the request's headers, a CORS request, and a redirect chain) whether a shared and a private HTTP cache may store the response (RFC 9111 section 3), its freshness lifetime and basis (s-maxage, max-age, Expires minus Date, or the 10% Last-Modified heuristic), Vary, invalid max-age or Expires, the CORS check and preflight outcome per the Fetch S
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"response": "<response>"
},
"name": "http-cache-explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cors | No | ||
| request | No | ||
| response | Yes | ||
| redirects | No |