Search squid archive

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

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

 



mån 2006-11-13 klockan 14:17 +0300 skrev samick el-ride:

> # 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?

> 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.

Squid by default strips query terms from the access.log for security
reasons as these may contain passwords or other sensitive details. This
does not mean that the URL as such was truncated, just that Squid did
not include the query terms in access.log..


More likely either

a) You still have the cache directives blocking cacheing of query URLs
in your squid.conf.

or

b) The responses sent by the server isn't really cacheable. See the
cacheability check engine for details about the server response.

most likely both contributes to making the object not cached..

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux