cache_replacement_policy

 < Day Day Up > 

cache_replacement_policy

This directive controls the replacement policy for Squid's disk cache. Version 2.5 offers three different replacement policies: least recently used (LRU), greedy dual- size frequency (GDSF), and least frequently used with dynamic aging (LFUDA). Note that the keywords ( lru , GDSF , etc.) are case-sensitive! See Section 7.5 for additional information.

Syntax

 cache_replacement_policy lru cache_replacement_policy heap GDSFLFUDALRU 

Default

 cache_replacement_policy lru 

Example

 cache_replacement_policy heap GDSF 

Related

memory_replacement_policy , cache_dir

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net