www/squid's cache dir
timp87 at gmail.com
Thu Jul 16 08:05:46 UTC 2015
> FWIW, I have the squid port installed on hundreds of systems, however I do
> not use the port defaults and have logs and cache on a separate filesystem
> mounted in /squid (i.e., /squid/logs, /squid/cache). In my opinion, it
> makes sense for the port to default to using /var/squid/cache and
> /var/squid/logs, which I believe is already the case?
No, it's not the case for the log dir.
> In my opinion using /var/cache/squid/... does not make any sense. I'm not
> exactly sure the intention of /var/cache - my systems only use it for
> pkg(8), but it seems intended more for a temporary application cache in
> traditional sense and not so much for things like a web cache that need to
> be much larger.
> In reality, I would think that most users of squid with a reasonably sized
> cache-dir would need to relocate squid cache and logs to a filesystem of
> larger size than the average /var, or mount /var/squid elsewhere in which
> case they would likely want /var/squid of the /var filesystem to be empty.
Ok, a small squid installation can live with /var/squid/cache or
/var/cache/squid, it doesn't matter. If user wants to use squid extensively
he/she does the additional work manually. That's what I understood.
Just looked into ubuntu and centos - they use /var/spool/squid as a default
So as a conclusion I'd got rid of /var/squid/logs.
Cache is in /var/squid/cache and logs are in /var/log/squid like right now.
View this message in context: http://freebsd.1045724.n5.nabble.com/www-squid-s-cache-dir-tp6025127p6025665.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
More information about the freebsd-ports