Jeff H. wrote:
For this page:
http://news.163.com/08/1008/09/4NNLPJAJ0001124J.html
why squid always got a cache MISS?
The servers clocks are apparently a week slow and the pages have a 64
second expiration timeout.
http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fnews.163.com%2F08%2F1008%2F09%2F4NNLPJAJ0001124J.html&descend=on
I'm using Squid-3.0.9.Thanks.
The response headers are like below:
(squid.mysite.com is my squid cache.)
(Status-Line) HTTP/1.0 200 OK
Age 58
Cache-Control max-age=64
Connection keep-alive
Content-Encoding gzip
Content-Length 17163
Content-Type text/html; charset=GBK
Date Wed, 08 Oct 2008 06:30:55 GMT
Expires Wed, 08 Oct 2008 06:31:59 GMT
Server nginx/0.7.10
Vary Accept-Encoding
Via 3.0 squid.mysite.com (Squid/3.0)
X-Cache MISS from cgi-gzip.163.com
X-Cache HIT from cache.163.com
X-Cache MISS from squid.mysite.com
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9