Re: Fwd: [squid-users] URL redirection in offline mode

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 19 Oct 2010 23:57:12 +1300

On 19/10/10 22:07, mohd hafiz wrote:
> Thanks a lot.
>
> but i need some help more here,
> how can i disable cache in squid 2.6? i don want squid to cache
> anything. i jst want squid do the redirection.
> i didn't have cache_dir in my squid.conf.. where is the possible
> location for my default cache_dir?
>
> thanks

2.6 requires building Squid with the "null" storage type.

Then configuring with "cache_dir null /tmp".
  IMPORTANT: do not use /dev/null. There are important run-time state
files stored in the top of cache_dir by older squid.

If cache_dir are all removed Squid 2.x allocate a 100MB space in
/var/spool or /var/cache depending on your OS.

Turn of "offline_mode" if you have it set in squid.conf. Despite the
name, it only causes aggressive caching to be done.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.8
   Beta testers wanted for 3.2.0.2
Received on Tue Oct 19 2010 - 10:57:17 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 19 2010 - 12:00:02 MDT