Tuning Squid, my way
I’ve been using polipo and squid on my local but polipo was keep having segmentation faults that really annoying.
To get the performance level up to polipo’s pipeline, you can add this line to your squid conf to enable pipelining which is disabled by default due to bandwidth management and logging issue which I don’t use currently,
pipeline_prefetch on
Next bonus is to block ads on proxy level,
acl ads dstdom_regex “/users/benzwu/adblock.txt”http_access deny ads
just fill the text file with simple regex rule like
(^|\.)123banners\.com$(^|\.)123found\.com$(^|\.)123pagerank\.com$
Ensquid!