Re: Turning TCP_CLIENT_REFRESH into TCP_REFRESH_HIT

From: Duane Wessels <[email protected]>
Date: Wed, 09 Jul 97 09:06:50 -0700

tim@zynet.net writes:

>
>I've noticed that Netscape Communicator seems to put "pragma no-cache" into
>just about every fetch, causing major performance problems against popular
>sites as it keeps flushing the objects everyone else could have had returned
>as cache hits. I'd like to make Squid do an IMS GET for a no-cache request in
 
>the case where it already has the object (i.e. treat it as a request for a
>stale object) instead of purging it and fetching from source[1].
>
>Can anyone point me to the right bits of code to look at?

You probably want to start at icpParseRequestHeaders().

I'd bet there's a very good chance these requests also have
If-Modified-Since headers, so you might only need to remove the
no-cache check.

Duane W.
Received on Wed Jul 09 1997 - 09:07:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:42 MST