Search squid archive

Re: questions on squid cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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!".

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux