1
# First, a comment block for the deafult conf:
3
# TAG: buffered_logs on|off
4
# cache.log log file is written with stdio functions, and as such
5
# it can be buffered or unbuffered. By default it will be unbuffered.
6
# Buffering it can speed up the writing slightly (though you are
7
# unlikely to need to worry unless you run with tons of debugging
8
# enabled in which case performance will suffer badly anyway..).
13
# Now, a slightly useful (but in no way complete) set of options:
15
cache_peer upstream1.example.com parent 8080 0 no-query proxy-only round-robin
16
cache_peer upstream2.example.com parent 3128 0 no-query proxy-only round-robin
17
never_direct allow all
18
never_direct allow CONNECT
20
acl myclients src 127.0.0.1
21
http_access allow myclients
23
acl mynet src 192.168.0.0/255.255.0.0
26
acl mynetlocal dst 192.168.0.0/255.255.0.0
27
always_direct allow mynetlocal