Name
cache_replacement_policy
Synopsis
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 GDSF|LFUDA|LRU |
Default | cache_replacement_policy lru |
Example | cache_replacement_policy heap GDSF |
Related | memory_replacement_policy, cache_dir |
Get Squid: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.