On Sun, 19 Sep 2004, Sergio Belkin wrote:

But by another side there are caching
policies (directive cache_replacement_policy)

The cache replacement policy tells in which order Squid evicts entries from the cache to make room for new objects.


the refresh algorithm tells how Squid determines if the object it has in the cache is fresh or if the origin server needs to be consulted before sending the reply to the client.

The two have different purposes. The replacement policy makes sure there is space in the cache by thowing away uninteresting objects, the refresh algorithm makes sure the client gets up to date content.


Regards Henrik

Reply via email to