[squid-users] proxy squid cache

Amos Jeffries squid3 at treenet.co.nz
Sun Sep 6 11:58:16 UTC 2015


On 6/09/2015 6:15 p.m., Int wrote:
> How I can configure of optimal form the proxy's following parameters squid
> 
> #--CACHE --#
> cache_mem 256 MB
> cache_swap_low 90
> cache_swap_high 95
> maximum_object_size 20480 KB
> maximum_object_size_in_memory 128 KB
> cache_replacement_policy heap GDSF
> memory_replacement_policy heap GDSF
> cache_dir aufs /var/spool/squid3 20480 16 256
> 
> Squid's team can do me any suggestion
> 

There is no best. Optimal depends on your situation and must be tuned by
you based on your own traffic.

The above settings look good enough for most uses up to a few hundred
clients.

If you need to fine tune the wiki has detailed explanations of how the
memory works at <http://wiki.squid-cache.org/SquidFaq/SquidMemory>

Amos



More information about the squid-users mailing list