Hello, I've built and installed Squid 2.4 on my OpenBSD
gateway/firewall/router box.
The proxy seems to work fine BUT when I look in my access log, I'm getting
mostly TCP_MISS for pages that I KNOW haven't changed in months (they are
my pages). Also it seems that many objects get released in a matter of
seconds as opposed to minutes or hours.
1) What could the problem be with all of the misses, I do occasionally get
some TCP_IMS_HITs
here's an example...
1002981588.937 60 10.133.7.18 TCP_CLIENT_REFRESH_MISS/304 226 GET
http://www.v-site.net/ - DIRECT/209.66.64.42 -
1002981588.966 28 10.133.7.18 TCP_CLIENT_REFRESH_MISS/304 223 GET
http://www.v-site.net/Graphics/navbar/companyon.jpg - DIRECT/209.66.64.42 -
hit refresh on my home page
a few seconds later...clicking refresh (IE5.5)
1002981771.310 551 10.133.7.18 TCP_CLIENT_REFRESH_MISS/304 226 GET
http://www.v-site.net/ - DIRECT/209.66.64.42 -
1002981771.339 28 10.133.7.18 TCP_CLIENT_REFRESH_MISS/304 223 GET
http://www.v-site.net/Graphics/navbar/companyon.jpg - DIRECT/209.66.64.42 -
same page, no changes in over a year.
when I go to sleepycat software...
1002981905.218 11308 10.133.7.18 TCP_REFRESH_HIT/200 14627 GET
http://www.sleepycat.com/ - DIRECT/192.41.61.122 text/html
even though I haven't been there in several days...
moments later when I hit refresh...
1002982039.286 163 10.133.7.18 TCP_CLIENT_REFRESH_MISS/304 206 GET
http://www.sleepycat.com/ - DIRECT/192.41.61.122 -
note I'm browsing from a W2K box sitting inside my firewall on a NATed
10.x.x.x/8 network.
2) Is there a way to extend the cache retention time dynamically?, ideally
I'd like to write some Java for my browser so that I could instruct the
cache (through ICP?) to hold on to this page for some time limit ( 1min -
infinity). This would be real useful if one is doing research and you want
to cache links that are transient (like CNN pages), has anyone done this?
Sorry for the newbie questions but I looked through the FAQ and the e-mail
archives and couldn't seem to find anything on either problem.
Geoff White
Virtual Sites
Received on Sat Oct 13 2001 - 08:14:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:42 MST