Re: Questions

From: Daniel O'Callaghan <danny@dont-contact.us>
Date: Thu, 17 Oct 1996 09:36:19 +1000 (EST)

On Wed, 16 Oct 1996, Chris Jason Richards wrote:

> 1. How does squid determine that a "Reload" as been submitted? I notice in
> the logs that it returns HTTP code 304 (Not Modified), but how is this
> determined? Is it from the client?

In the MIME headers of the request, there is a
If-modified-since: <some date>

line, when a browser requests a document it has cached. If you hit the
reload button, you get a

Pragme: No-cache

line in the request.

e.g.

GET http://www.a.c/ HTTP/1.0
If-modified-since: Thu Oct 17 1996 00:08:20 GMT

Danny
Received on Wed Oct 16 1996 - 16:36:53 MDT

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