www/squid's cache dir

Nick Rogers ncrogers at gmail.com
Thu Jul 16 16:18:41 UTC 2015

On Thu, Jul 16, 2015 at 1:05 AM, timp <timp87 at gmail.com> wrote:

> Hi Nick!
> > 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
> > the
> > 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
> cache dir.
> 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.

I think that makes perfect sense as well.

> --
> 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.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

More information about the freebsd-ports mailing list