Search squid archive

Re: Squid tries to cache files but can`t?

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

 



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.

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

  Powered by Linux