# Cache-Control Header Decision Check

> Cache-Control Header Decision Check is a paid API for AI agents from webtechnik.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-17).

Fetches a target URL and evaluates whether its HTTP response includes a valid Cache-Control header, returning a pass/fail verdict with evidence and recommended action.

## Facts

- Endpoint: POST https://webtechnik.halowerk.com/v1/cache-control-decision?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cache-control-header-decision-check-cb67fcda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j55IMlgd4L7rUYSseenUM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cache-control-header-decision-check-cb67fcda -d '<json body>'
```

Example prompt: Can you check whether https://example.com has a proper Cache-Control header configured — give me the verdict, what was observed, and what I should do to fix it if it's missing?

## When to prefer this

Use this endpoint when you need a lightweight, passive, single-call check specifically for Cache-Control header presence and correctness on a public URL — ideal for site audits, monitoring pipelines, or pre-deployment checks. Prefer this over full-page audit tools when you only need the caching verdict without crawling the entire site. Part of a family of focused web-tech decision checks on webtechnik.halowerk.com.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status — check may fail or return an inconclusive verdict
- Malformed or non-public URL input results in a validation error
- Rate limiting or firewall on target blocks the passive fetch, yielding no evidence
- Cache-Control header present but malformed — may produce ambiguous verdict
- Compare URL unreachable when provided for change-detection mode

## How this service works

Cache-Control present decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.

## Output

Returns a structured result containing: the observed Cache-Control header value (or its absence), the evaluation threshold/criterion, a pass/fail verdict, the exact URL used as evidence source, known limitations of the passive check, and a mode-specific recommended action — no login, injection, or form submission is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "target": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."
  },
  "context": {
   "type": "object",
   "description": "Optional non-secret correlation labels returned unchanged only in the request lifecycle.",
   "maxProperties": 12,
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean",
     "null"
    ]
   }
  },
  "baseline": {
   "type": [
    "object",
    "null"
   ],
   "description": "Optional baseline returned by a previous snapshot call.",
   "additionalProperties": true
  },
  "compare_url": {
   "type": "string",
   "maxLength": 2048,
   "minLength": 3,
   "description": "Optional public comparison URL. Used by change and monitoring services."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cache-control-header-decision-check-cb67fcda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtechnik.halowerk.com](https://www.zero.xyz/host/webtechnik.halowerk.com/llms.txt)
