---
title: "STALE_CACHE_SERVED fix plan: the homepage fetched now, its Age, the cache layers in purge order (innermost first), the declared HTML lifetime, a fresh-read comparison, and whether a purge clears the finding and keeps it cleared"
method: GET
path: "/api/fix/cache"
---

# STALE_CACHE_SERVED fix plan: the homepage fetched now, its Age, the cache layers in purge order (innermost first), the declared HTML lifetime, a fresh-read comparison, and whether a purge clears the finding and keeps it cleared

`GET /api/fix/cache`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/fix/cache`
- Auth: none required

## Query parameters

- `domain` string
- `id` string

## Response `200`

plan

- object, nullable
  - `source` string, nullable
  - `domain` string, nullable
  - `report_id` unknown
  - `fetched_at` string, nullable
  - `rule` string, nullable
  - `now` object, nullable
    - `age_seconds` number, nullable
    - `fires` boolean, nullable
    - `header_overridden` boolean, nullable
    - `cf_cache_status` string, nullable
    - `cache_control` string, nullable
    - `lifetime` object, nullable
      - `seconds` number, nullable
      - `from` string, nullable
    - `layers` object[], nullable
      - `id` string, nullable
      - `name` string, nullable
      - `kind` string, nullable
      - `purge` string, nullable
    - `fresh_read` unknown
  - `steps` unknown[], nullable
    - unknown
  - `clears` unknown
  - `clears_at_step` number, nullable
  - `stays_clear` unknown
  - `verdict` string, nullable
  - `assumption` string, nullable

## Other responses

- `400`: no domain or id
- `404`: unknown id
- `502`: homepage did not answer

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
