Skip to main content

HTML_NO_STORE

Constant HTML_NO_STORE 

Source
pub const HTML_NO_STORE: &str = "no-store, no-cache, must-revalidate, max-age=0";
Available on crate feature nextstatic only.
Expand description

HTML 的硬化禁缓存头; 普通 no-cache 会被部分 CDN (如 Cloudflare 默认规则) 忽略