[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-users
Subject: Re: [SQU] HTTP header date
From: Duane Wessels <wessels () squid-cache ! org>
Date: 2000-10-31 18:29:28
[Download RAW message or body]
On Tue, 31 Oct 2000, Marc Tardif wrote:
> > > Once a page is cached, does squid check the HTTP
> > > header date field of the website for each subsequent
> > > requests to make sure the cache is up to date? Where
> > > can I find details about this in the online docs?
> >
> > Maybe the FAQ entry answers your question?
> > http://www.squid-cache.org/Doc/FAQ/FAQ-12.html#ss12.20
> >
> Two more questions on the subject:
> - When refreshing a cached object, does Squid first
> check the header of the URL and only download the
> body if the HTTP Date reply header (OBJ_DATE) or
> HTTP Last-Modified reply header (OBJ_LASTMOD) has
> changed?
Squid does not use the HEAD method, if that is what you mean.
If Squid has the object cached, and the object has a last-modified
timestamp, then Squid sends an if-modified-since request.
Then the server doesn't send the whold body if the object didn't
change.
>
> - If not, is there a way to have Squid simulate
> this behavior and ALWAYS at least check the
> header for each request even if the object is
> cached?
Probably something like this would do what you want:
refresh_pattern 0 0 0 override-expires
Duane W.
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic