I have set this
maximum_object_size 0 KB
minimum_object_size 0 KB
acl all src 0.0.0.0/0.0.0.0
no_cache deny all
but when I do test for the caching
curl -x ip1:3128 http://blabla.com/iptest.php
sleep 5
curl -x ip2:55555 http://blabla.com/iptest.php
both will return only the fist ip (ip1)
If the sleep is bigger that 30, it will show the ip2 too
LATER EDIT: I see that the problem is if you hit the squid with 2 connsecutive requests it will always exit on the internet with the ip used on the first request
Shouldn't it be
cache deny all
instead ofno_cache deny all
?In addition to Oliver's answer, you can also put this to your squid.conf