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 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.