User Tools

Site Tools


squid configuration on Linux

Additional to the stock squid.conf file, tested on squid 3.5

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
cache deny rfc1918

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