On 08/03/11 19:30, jiluspo wrote:
with 127.0.0.1 might require tuning with net.local.stream.* and would consume more memory if set high. so far i've noticed with 127.0.0.1 browsing seems like faster than the other, but im not sure what I've missed.
Not surptrising. The localhost interface is internal to the kernel. It usually has a much larger MTU than any public NIC (speed!). As well as fewer firewall rules on it to slow down the big packets. :)
rdr on em1 inet proto tcp from any to ! (em1) port = http -> 127.0.0.1 port 3128 or rdr on em1 inet proto tcp from any to ! (em1) port = http -> $em1ip port 3128 but which one is better in terms of memory consumption.
Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.11 Beta testers wanted for 3.2.0.5