Cache-Control Parser
Trình phân tích Cache-Control
Phân tích chính sách bộ nhớ đệm, phạm vi có thể lưu vào bộ nhớ đệm và TTL độ tươi. Cũng tạo tiêu đề có thể tái tạo qua Builder.
Tóm tắt phân tích
Shared caches allowedđộ tươi: 10m 0sstale-while-revalidate: 30s
Khả năng lưu vào bộ nhớ đệm
Shared caches allowed
TTL độ tươi
10m 0s
Stale-While-Revalidate
30s
Stale-If-Error
-
Builder
public, max-age=600, stale-while-revalidate=30Xem trước 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
}