Name

cache_mem

Synopsis

Squid uses memory to store recently received objects and to buffer active responses. This directive specifies the amount of memory to use for storing these objects.

Tip

This directive doesn’t entirely control the size of the Squid process. See Appendix B for additional information.

Syntax

cache_mem bytes-specification

Default

cache_mem 8 MB

Example

cache_mem 16 MB

Related

cache_dir, maximum_object_size_in_memory, memory_replacement_policy

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.