Hey All,
Does squid cache web-pages when configured in the forward interception
proxy mode i.e http_port x:y intercept.? If so how can it be turned
off.?
I actually want to bench-mark squid performance in terms of
requests-per-second that squid can support. I do not want squid to
cache the web pages on which i am doing the test. The reason is
obvious that i do not want squid to service that page from its
cache.:). I want it to get the pages from the server every time. I am
using AB(apache-benchmark) to do a comparison between request process
times when squid is inline vs when squid is not there. Looking at the
access.log file gives this for my test page.
1335266704.412 0 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.415 0 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.416 1 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.418 1 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.418 0 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.420 0 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
1335266704.423 0 192.168.8.39 TCP_REFRESH_UNMODIFIED/200 601 GET
http://158.1.4.2/elastica.html - DIRECT/158.1.4.2 text/html
The TCP_REFRESH_UNMODIFIED request status makes me think that squid is
serving me the page from its cache and not retrieving it from its
actual source. Am i right?
-- Regards, -Ahmed Talha KhanReceived on Tue Apr 24 2012 - 10:32:47 MDT
This archive was generated by hypermail 2.2.0 : Tue Apr 24 2012 - 12:00:04 MDT