Re: [squid-users] cache_dir

From: <trainier@dont-contact.us>
Date: Thu, 10 Jan 2008 08:54:39 -0500

Amos Jeffries <squid3@treenet.co.nz> wrote on 01/10/2008 07:53:44 AM:

> trainier@kalsec.com wrote:
> > I have been asked to continue proxying connections out to the
Internet,
> > but to discontinue caching web traffic.
> >
> > After reading the FAQ and the config guide (2.6STABLE12) I found that:

> > 'cache_dir null' Is the approach. It's failing.
> > The error is: Daemon: FATAL: Bungled squid.conf line 19: cache_dir
null
>
> For 2.6 you need to add --enable-storeio=null with the other FS you want

> to use.
>

Yeah, I figured this was the option, I just didn't know the parameter to
hand it. Which is probably documented in src/fs.
Thanks for clarifying.

> > For giggles, I even tried giving cache_dir null an option of a
directory,
> > which also failed.
>
> That was the right approach :-) just at tad early
>
> The config line does need a path still in 2.6, a small problem that has
> been cleaned up for 3.1 and 2.7, 2.6stable18 when they arrive.
>
> cache_dir null /tmp

Very good to know. Thanks again, Amos.

> Amos
>
> >
> > The FAQ shows that this option is not enabled or available in the
default
> > build of squid. I'm reading through the configure script trying to
find
> > some verbiage that might help me locate the compile option.
> >
> > Here are the compile-time options I'm setting for this build:
> >
> > ./configure --prefix=/services/proxy --enable-icmp --enable-snmp
> > --enable-cachemgr-hostname=kmiproxy01 --enable-arp-acl --enable-ssl
> > --disable-select --disable-poll --enable-epoll
-enable-large-cache-files
> > --disable-ident-lookups --enable-stacktraces --with-large-files &&
make
> > && make install
> >
> > Can someone please help me disable local caching?
> >
> > Thanks,
> >
> > Tim Rainier
>
>
> --
> Please use Squid 2.6STABLE17 or 3.0STABLE1.
> There are serious security advisories out on all earlier releases.
>
Received on Thu Jan 10 2008 - 06:57:02 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST