Name

memory_replacement_policy

Synopsis

This directive controls the replacement policy for objects cached in memory. See Section 7.5 for additional information.

Syntax

memory_replacement_policy lru
memory_replacement_policy heap GDSF|LFUDA|LRU

Default

memory_replacement_policy lru

Example

memory_replacement_policy heap LFUDA

Related

cache_replacement_policy, cache_mem

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.