Re: [squid-users] Cache MISS and HIT

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Sun, 20 Sep 2009 22:27:59 +0200

lör 2009-09-19 klockan 13:45 +0800 skrev andre wang:

> Trying send the same http request many times, squid returns MISS.
> Then I make the same HTTP request using GET method instead of HEAD.
> After done GET request, i come back sending squid HEAD request:
> squidclient -m HEAD http://example.com/, Squid alway return HIT

The HEAD should have got cached. Assuming the web server do return the
same headers on HEAD as it does on GET, and do not return garbage after
the HEAD headers. (some web servers are broken and implement HEAD as if
it was GET...)

If the HEAD response from the web server is valid then please file a bug
report at http://bugs.squid-cache.org/ including the response web
servers response headers.

Regards
Henrik
Received on Sun Sep 20 2009 - 20:28:04 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 21 2009 - 12:00:02 MDT