Skip to main content

PUBLIC_DEFAULT

Constant PUBLIC_DEFAULT 

Source
const PUBLIC_DEFAULT: &str = "public, max-age=300, stale-while-revalidate=3600";
Expand description

其余公开 GET 的默认值:5 分钟新鲜期,过期后 1 小时内可先给旧内容再后台校验。