Advanced cache functions
Implementation of a proxy
Article REF: TE7707 V1
Advanced cache functions
Implementation of a proxy

Author : Laurent LEVIER

Publication date: November 10, 2008 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

1. Advanced cache functions

Squid sets default values for many parameters. While these values are suitable for classic Squid use on small sites, they can be optimized for more intensive use of the software.

1.1 Change the way the cover works

When Squid's memory is full and space needs to be freed up, Squid has four different behavior policies for selecting objects to be destroyed. These policies are controlled by two main parameters:

cache_replacement_policy and memory_replacement_policy

The first will apply to Squid's memory, and the second to its disk cache.

  • The LRU (Last Recently Used) policy consists of keeping the most recently used objects, whatever their size. You could compare it to a FIFO (First...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Security of information systems"

( 86 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details