www/squid's cache dir

RW rwmaillists at googlemail.com
Tue Jul 14 19:54:34 UTC 2015


On Tue, 14 Jul 2015 12:33:33 +0300
Pavel Timofeev wrote:

> Hi!
> 
> A question was born in my mind about www/squid port:
> 
> Do we really need a separate /var/squid dir for 'cache' and always
> empty 'logs' subdirs?
> Squid's logs are really in /var/log/squid, not in /var/squid/logs.
> 
> So I think what if we had cache dir like /var/cache/squid, and got rig
> of /var/squid at all?
> What do you think?

I can see a case for fixing the Makefile so the log directory is
created in the right place. Moving the squid directory itself wouldn't
avoid creating /var/squid/logs.

Squid can use more than one cache directory, so it makes sense to have
the default cache directory as a sub-directory of squid/.


More information about the freebsd-ports mailing list