[squid-users] Re: Question on Squid internals

From: RW <rwmaillists_at_googlemail.com>
Date: Wed, 23 Dec 2009 22:01:25 +0000

On Wed, 23 Dec 2009 12:47:13 -0800
Manjusha Maddala <mmaddala25_at_nextag.com> wrote:

> $ curl -H "User-Agent: some useragent" -H
> "Accept-Encoding: gzip,deflate" "http://some-url"
>
> Squid access.log -
>
> xxx.xxx.xxx.xxx - - [23/Dec/2009:11:03:31 -0800] "GET http://some-url
> HTTP/1.1" 200 19114 "-" "-" "-" "gzip,deflate"
> TCP_MISS/FIRST_UP_PARENT 446
>
> $ ll 001000FF
> ls: 001000FF: No such file or directory
> ............................................................
>
>
> A page that is just 3 days old encountered a cache miss, even though
> the cached page is physically present on the disk. Could somebody
> explain why this has happened?

I'm not sure if this entirely explains what you saw, but IIRC curl
sets an http header that prevents squid returning a cached object.
Received on Wed Dec 23 2009 - 22:02:00 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 24 2009 - 12:00:02 MST