Memory cache - The Polipo Manual
Description: The Polipo Manual

Next: Disk cache, Previous: Cache transparency, Up: Caching

### 4.2 The in-memory cache

The in-memory cache consists of a list of HTTP and DNS objects maintained in least-recently used order. An index to the in-memory cache is maintained as a (closed) hash table.

When the in-memory cache grows beyond a certain size (controlled by a number of variables, see Memory usage), or when a hash table collision occurs, resources are written out to disk.