Re: question regards to cache directory

From: Bernd P. Ziller <bziller@dont-contact.us>
Date: Wed, 2 Jul 1997 08:59:50 +0200 (METDST)

> Date: Wed, 2 Jul 1997 16:14:03 +1100 (E )
> From: Julie Xu <julie@tscc2.macarthur.uws.EDU.AU>

> in the cache directory, there is a log file. can I clean it just by
> cat /dev/null > log ?

Never ever touch anything in your cache directory unless your really
really know what you are doing.
A 'cat /dev/null >log' is just like 'rm -fr your-cache-dir'.

> I would also like to known how long cache will keep the pages and can I
> control the period of keeping pages?
 In squid.conf look for 'refresh_pattern' and you can read how to use
it right there.

Regards,

-- 
   Bernd                  bziller@ba-stuttgart.de
-------------------------------------------------
      http://www.ba-stuttgart.de/~bziller/
  Perry Rhodan - Blind Guardian - Morwen   Pages
Received on Wed Jul 02 1997 - 00:03:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:39 MST