cache/log and cache.log

From: Joel Taqueban <jtaqueba@dont-contact.us>
Date: Thu, 11 Mar 1999 00:01:01 +0800

I'm a newbie to proxies. I have had recommendations that
Squid is excellent so I thought of using it with my
Red Hat Linux: There are some questions though I would
like to raise:

1) What's the difference between the log files
   /usr/local/squid/cache/log or swap.state and
   /usr/local/squid/logs/cache.log?
   Which one is really my cache?

   If /usr/local/squid/cache/log or swap.state is my cache, why is
   its size larger than the /usr/local/squid/logs/cache.log?
   (I thought of the other way around since a cache stores
    Internet objects/pages )

   How do I view the contents cache/log (swap.state) logfile?
   Tried 'strings swap.state' and 'cat swap.state' but instead
   had a garbled messages on my screen...

2) How do I define in the squid.conf file that it should
   delete pages in the cache which is older than 7 days?

   How do I define in the squid.conf file that it should
   delete pages in the cache for particular sites, such as
   News sites (that which keeps on changing everyday)?
   e.g. ABC News, CNN, etc.

 Awaiting kind reply,

Joel Taqueban
Received on Wed Mar 10 1999 - 09:10:36 MST

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