On 18.11.09 14:16, Melanie Pfefer wrote:
> I have in squid.conf
>
> cache_dir ufs /var/squid/var/cache 100 16 256
>
>
> I would like to know:
> 1. if the squid cache is stored on disk or RAM
the above configures on-disk cache, the cache_mem directive sets up
in-memory cache.
> 2. if I can reach a point where "cache is full"
squids periodically cleans its cache only to keep it as full as configured.
You can configure squid not to clean the cache and in such case it can
become "full", but there's usually no need for that.
see cache_replacement_policy and memory_replacement policy directives.
> 3. How can I "remove cache" older than 1 week (same logic as log rotation)
very hardly. squid has different lgorithms to remove data from cache, based
on how often were they accessed.
-- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Christian Science Programming: "Let God Debug It!".Received on Thu Nov 19 2009 - 08:52:16 MST
This archive was generated by hypermail 2.2.0 : Thu Nov 19 2009 - 12:00:04 MST