小编nyb*_*nyb的帖子

HTTP Cache Control max-age,必须重新验证

我有几个与Cache-Control相关的查询.

如果我max-age=3600, must-revalidate为静态html/js/images/css文件指定Cache-Control ,并在HTTP标头中定义了Last Modified Header:

  1. 浏览器/代理缓存(如Squid/Akamai)是否会在max-age到期之前一直到源服务器进行验证?或者它会从缓存中提供内容直到max-age到期?
  2. 在max-age到期后(即从缓存到期),是否有If-Modified-Since检查或从原始服务器重新下载的内容没有If-Modified-自检查?

http cache-control http-headers

71
推荐指数
2
解决办法
9万
查看次数

标签 统计

cache-control ×1

http ×1

http-headers ×1