On Wed, 2009-12-23 at 14:01 -0800, RW wrote: > On Wed, 23 Dec 2009 12:47:13 -0800 > Manjusha Maddala <mmaddala25@xxxxxxxxxx> 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. Actually curl does return "TCP_HIT" for pages that are just a day old. So, its probably some Squid thing that's causing the cache miss.