parseCacheControlMaxAgeMs
This content is not available in your language yet.
function parseCacheControlMaxAgeMs(header): number | undefined;Cache-Control 头 → max-age(ms);no-store/no-cache/缺席/非法 → undefined(调用方用缺省)
header
Section titled “header”string | null
number | undefined
Was this page helpful?
Thanks for your feedback.