Http请求头和响应头的Cache-Control怎么理解

u012914916 u012914916 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
网站是wordpress,请求头里的Cache-Control是no-cache,响应头里的是我在nginx里设置的max-age=259200,那么浏览器到底缓存了没有。。。


Request Headersview source
Accept:*/*
Accept-Encoding:gzip, deflate, sdch
Accept-Language:zh-CN,zh;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Cookie:CNZZDATA1254790698=1245005062-1429681029-%7C1429681029
Host:yuanzi.me
Pragma:no-cache
Referer:http://yuanzi.me/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Response Headersview source
Accept-Ranges:bytes
Cache-Control:max-age=259200
Connection:keep-alive
Content-Length:100922
Content-Type:application/javascript
Date:Wed, 22 Apr 2015 06:13:34 GMT
ETag:"55371597-18a3a"
Expires:Sat, 25 Apr 2015 06:13:34 GMT
Last-Modified:Wed, 22 Apr 2015 03:29:27 GMT
Server:nginx/1.6.2
...全文

相关推荐

评论 6
收藏 已收藏
分享
返回顶部
u012914916
基础编程 21,889 成员 140,329 内容