Search squid archive

Re: Cache MISS and HIT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> 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
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux