Re: [squid-users] HTTP Headers

From: Henrik Nordstrom <[email protected]>
Date: Wed, 5 Mar 2003 00:32:21 +0100

If your server send Last-Modified headers then Squid will use this and
issues a If-Modified-Since request to validate the freshness of the
cached copy when refresh_pattern says the file is stale..

While refresh_pattern says that the file is fresh it is given directly
from the cache without validating the freshness with the backend
server.

Regards
Henrik

On Tuesday 04 March 2003 20.39, Craig Kelley wrote:
> Hello everyone;
>
> We have squid running in a transparent mode (httpd_accel) to
> another server so that we can reduce the load over an expensive
> link. Everything works great, but it seems that squid is not
> checking the `last modified' http headers from the source server
> (?) Is there a way to have squid check the http header from the
> remote machine to determine whether or not a file needs to be
> re-fetched, or does it simply go `stale' in the squid cache and
> require re-fetching the whole file again?
>
> We're currently using these directives:
>
> httpd_accel_host 63.227.133.121
> httpd_accel_port 80
> httpd_accel_single_host on
> httpd_accel_with_proxy off
> httpd_accel_uses_host_header on
>
> Thanks,
>
> Craig Kelley
Received on Tue Mar 04 2003 - 16:29:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:55 MST