Re: [squid-users] Squid tries to cache files but can`t?

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Mon, 13 Nov 2006 12:40:06 +0100

> Hi. I have unpleasant trouble. List of the objects in my cache shows files:
>
> # sort -r -n +4 -5 /var/log/squid/access.log | awk '{print $5, $7}' | head -25
> 28693496 http://portal.rm:7780/docs/media?
> 4869232 http://portal.rm:7780/docs/media?
> 4027525 http://portal.rm:7780/docs/media?
>
> And so on. But URLs of these files are like this:
>
> http://portal.rm:7780/docs/media?id=13397
>
> Squid caches the URL "http://portal.rm:7780/docs/media?" but not the
> file "http://portal.rm:7780/docs/media?id=13397". The file is not
> cached.
>
> The whole line in access.log looks like
>
> 1163405139.265 1850 192.168.2.21 TCP_MISS/200 4869232 GET
> http://portal.rm:7780/docs/media? - DIRECT/192.168.25.40
> application/pdf
>
> So, Squid sees the file, determines its type and tries to cache it,
> but can`t. How to fix it?
>

  Verify whether the particular object(s) can be cached with :

                http://www.ircache.net/cgi-bin/cacheability.py

  M.
Received on Mon Nov 13 2006 - 04:40:14 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST