Squid caches the content following the key of URL.
Squid won't cache the headers only under that URL, but cache a full page.
2009/9/19 andre wang <andre.ease_at_gmail.com>:
> hi all:
>
> I have an issue.
> My squid is running on my localhost at port 3128, when i make
> http request with squidclient:
> squidclient -m HEAD http://example.com/ it returns :
> X-Cache: MISS from localhost
> X-Cache-Lookup: MISS from localhost:3128 (it's normal as the cache
> is empty now)
>
> 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.
>
> I'm confused, is that normal, can anyone help?
>
> thanks
> andre.ease
>
Received on Sat Sep 19 2009 - 09:24:05 MDT
This archive was generated by hypermail 2.2.0 : Sat Sep 19 2009 - 12:00:03 MDT