Skip to main content

inspect-an-http-cache-header

Inspect HTTP cache headers across request, response, browser, CDN, proxy, and origin context. Use when freshness, reuse, revalidation, privacy, or invalidation behavior is unclear.

Quellinformationen

Repository
protosphinx/sphinxstack
Letzte Quellaktivität
29. Juli 2026 um 13:55
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
inspect-an-http-cache-header
category
code
description
Inspect HTTP cache headers across request, response, browser, CDN, proxy, and origin context. Use when freshness, reuse, revalidation, privacy, or invalidation behavior is unclear.
# inspect-an-http-cache-header ## When to use - Use for an exact authorized URL, method, identity, and network path. - Do not cache private responses or expose credentials during capture. ## Procedure 1. Record request method, URL, authorization, cookies, time, edge, and expected policy. 2. Capture `Cache-Control`, `Age`, `Date`, `Expires`, validators, `Vary`, status, and CDN headers. 3. Separate browser, shared cache, surrogate, and origin decisions. 4. Calculate freshness and revalidation against clocks and directives. 5. Repeat cold, warm, conditional, anonymous, and authorized requests. 6. Record privacy, variation, stale, purge, and path findings. ## Failure plan - Bypass shared caching when identity separation or directive meaning is unsafe. ## Worked example An authenticated page is reused because `Vary` omits the tenant header despite a seemingly short TTL. ## Done - A cache-header report records request context, directives, validators, age, variation, layers, and findings - Cold, warm, conditional, clock, identity, tenant, privacy, and shared-cache checks verify behavior
Auf GitHub ansehen