Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / http cache current age

An agent that replays a cache decision needs computed RFC age and evidence that a response was served fresh after its explicit freshness lifetime.

POST https://detect.halowerk.com/v1/api/http-cache-current-age

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "entries": {
          "type": "array",
          "maxItems": 2048,
          "items": {
            "type": "object",
            "properties": {
              "date_seconds": {
                "type": "number"
              },
              "age_seconds": {
                "type": "integer",
                "minimum": 0
              },
              "request_seconds": {
                "type": "number"
              },
              "response_seconds": {
                "type": "number"
              },
              "now_seconds": {
                "type": "number"
              },
              "freshness_lifetime_seconds": {
                "type": "integer",
                "minimum": 0
              },
              "served_as_fresh": {
                "type": "boolean"
              }
            },
            "required": [
              "date_seconds",
              "age_seconds",
              "request_seconds",
              "response_seconds",
              "now_seconds",
              "freshness_lifetime_seconds",
              "served_as_fresh"
            ],
            "additionalProperties": true
          }
        }
      },
      "required": [
        "entries"
      ],
      "additionalProperties": true,
      "$comment": "Global native parser:1MiB JSON, depth32,30000nodes,2048items per array,16384characters per string. Work-budget limits can yield unknown."
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "entries": [
      {
        "date_seconds": 0,
        "age_seconds": 0,
        "request_seconds": 0,
        "response_seconds": 1,
        "now_seconds": 20,
        "freshness_lifetime_seconds": 10,
        "served_as_fresh": true
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →