影响Cache的HTTP头

    无论是浏览器的Cache还是Cache服务器,都是根据HTTP的头信息决定是否重新获取缓存的资源还是使用本地的缓存资源,影响这一决定的头主要包括:

  • Cache-Control
  • Expires
  • ETag
  • Last-Modified
  • If-Modified-Since

    详见:http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.1.1

猜你喜欢

转载自daviswang.iteye.com/blog/953094