User Tools

Site Tools


linux:squid

squid configuration on Linux

Additional to the stock squid.conf file, tested on squid 3.5 http://www.squid-cache.org/Versions/v3/3.5/cfgman/index.html

shutdown_lifetime 1 seconds
buffered_logs on
dns_nameservers <ns1> <ns2>
visible_hostname <hostname>
digest_generation off
client_db off
memory_pools off
cache_mem XXXX MB
maximum_object_size_in_memory XX MB
#workers <num_cpu>
#cpu_affinity_map process_numbers=1,2,3,4,.. cores=1,2,3,4,..
#dns_v4_first on
pipeline_prefetch 3

acl rfc1918 dst 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
cache deny rfc1918

accept_filter data
linux/squid.txt · Last modified: 2018/04/08 11:57 by cbredi