代码: 全选
Age: 1492
CC_CACHE: TCP_HIT
Content-Length: 2880
Content-Range: bytes 0-2879/2880
Content-Type: audio/mpeg
Date: Tue, 21 Feb 2017 04:37:36 GMT
Expires: Wed, 22 Feb 2017 04:37:36 GMT
Last-Modified: Fri, 01 Jan 2010 08:42:50 GMT
Server: nginx
代码: 全选
Age: 1492
CC_CACHE: TCP_HIT
Content-Length: 2880
Content-Range: bytes 0-2879/2880
Content-Type: audio/mpeg
Date: Tue, 21 Feb 2017 04:37:36 GMT
Expires: Wed, 22 Feb 2017 04:37:36 GMT
Last-Modified: Fri, 01 Jan 2010 08:42:50 GMT
Server: nginx
但"CC_CACHE"这个字段的介绍搜不到?taohunter 写了:你看到的这段这个回应头里的信息涉及到的是web cache的概念。
"CC_CACHE: TCP_HIT"的意思是:通过TCP协议访问http端口的这个请求,命中了该nginx http服务器的content cache
nginx关于content cache的教程:
https://www.nginx.com/blog/nginx-high-p ... e-caching/
https://www.nginx.com/blog/nginx-caching-guide/
google的:
https://developers.google.com/web/funda ... tp-caching
mozilla的:
https://developer.mozilla.org/en-US/doc ... TP/Caching
W3的:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html