# Cache-Control Header Audit

> Cache-Control Header Audit 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).

Passively fetches a public URL and evaluates whether its HTTP Cache-Control headers meet best-practice criteria, returning a verdict, evidence, and actionable guidance.

## Facts

- Endpoint: POST https://webtechnik.halowerk.com/v1/cache-control-audit?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-audit-d35c5522
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tQOe1t47BptlxO2yRyDDa

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-audit-d35c5522 -d '<json body>'
```

Example prompt: Can you audit the Cache-Control headers on https://www.example.com and tell me whether they're configured correctly, what the verdict is, and what I should do to fix any issues?

## When to prefer this

Use this endpoint when you need a lightweight, passive, single-URL audit of HTTP Cache-Control header compliance without any login, payload injection, or active load testing. It is ideal for continuous monitoring pipelines, pre-deployment checklists, or quick spot-checks on public pages. Prefer it over full browser-based lighthouse audits when you only need the Cache-Control criterion and want a machine-readable verdict with evidence.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status, resulting in an error verdict
- Target URL requires authentication, so Cache-Control headers for protected resources cannot be evaluated
- Bare domain normalization to HTTPS fails if the server does not support HTTPS
- Rate limiting or firewall on the target may block the passive fetch
- Very large or slow-responding pages may time out before headers are captured

## How this service works

Cache-Control present audit 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 an observation describing the detected Cache-Control header values, the evaluation threshold, a pass/fail verdict, the exact evidence source (URL or response headers inspected), any limitations of the passive check, and a mode-specific recommended action — all without performing login, form submission, or any active exploitation.

## 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-audit-d35c5522/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)
