logo
GeekFormat

Cache-Control Parser

เครื่องมือวิเคราะห์ Cache-Control

วิเคราะห์นโยบายแคช ขอบเขตที่สามารถแคชได้ และ TTL ความสดใหม่ รวมถึงสร้างส่วนหัวที่สามารถทำซ้ำได้ผ่าน Builder

สรุปการวิเคราะห์

Shared caches allowedความสดใหม่: 10m 0sstale-while-revalidate: 30s
ความสามารถในการแคช
Shared caches allowed
Freshness TTL
10m 0s
Stale-While-Revalidate
30s
Stale-If-Error
-

Builder

public, max-age=600, stale-while-revalidate=30

ตัวอย่าง JSON

{
  "directives": [
    {
      "key": "public",
      "value": null
    },
    {
      "key": "max-age",
      "value": "600"
    },
    {
      "key": "stale-while-revalidate",
      "value": "30"
    }
  ],
  "warnings": [],
  "cacheability": "Shared caches allowed",
  "freshnessSeconds": 600,
  "staleWhileRevalidateSeconds": 30,
  "staleIfErrorSeconds": null
}