# Cache Lifetime Audit

> Cache Lifetime 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 audits a public URL's HTTP cache lifetime headers and returns a verdict on whether the caching policy meets best-practice thresholds.

## Facts

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

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

Example prompt: Can you audit the cache lifetime settings on https://example.com and tell me whether the caching policy meets best-practice thresholds — I want to see the verdict, what evidence was found, and any recommended action?

## When to prefer this

Use this endpoint when you need a lightweight, passive, single-call audit of a public URL's HTTP cache lifetime policy without any active testing, login attempts, or load generation. Ideal for CI/CD pipeline checks, pre-launch site audits, or monitoring cache regressions after deployments. Prefer this over full web auditing suites when you only need a focused cache-control verdict with minimal cost and latency.

## Known failure modes

- Target URL is unreachable or returns a non-2xx status — audit cannot retrieve evidence
- Target uses non-standard or missing cache headers — verdict may be inconclusive
- Rate limiting or firewall on target blocks the passive fetch — returns limitation notice
- Malformed or overly long URL input — rejected with validation error
- Target redirects infinitely or to a non-public resource — evidence unavailable

## How this service works

Cache lifetime at least five minutes 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 a structured audit result containing: the observed cache lifetime value, the best-practice threshold being evaluated, a pass/fail verdict, the exact evidence source (e.g. the Cache-Control or Expires header value), any limitations of the passive check, and a mode-specific recommended action. No login, form submission, or active exploit 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-lifetime-audit-acc9a879/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)
