Re: RELOAD do not work

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 28 Aug 1998 22:07:55 +0200

CQ CQ de Jason wrote:

> According to my log:
>
> 904206867.998 1866 gopher.firdi.org.tw TCP_MISS/304 197 GET
> http://www.oasisasia.com/bannerspace3.html - DIRECT/www.oasisasia.com -
>
> Do you mean that my squid server only "query" the headers
> from the original server instead of the whole object?

Yes, you could say that. Tecnically it did not query the headers, it
asked if the object was modified or not with respect to the copy that
the client already has in it's cache. The outcome of the query was that
the object is not modified and the reply sent (between both the origin
server->squid and squid->client) is only a short message saying that the
object is not modified.

> But what will the client (browser) do subsequently?

Use what the client already has in it's cache.

> Since the cache server doesn't have that object, will the client
> issue the "get" request again?

No. The client validated a object that was cached in its cache, and is
satisfied by the 304 reply.

Even in the simplest Squid installation you have at least a 2 level
hierarchy. Level 1 is the caches maintained by each browser on the local
harddrive, level 2 is the first proxy (Squid).

---
Henrik Nordström
Sparetime Squid Hacker
Received on Fri Aug 28 1998 - 20:36:35 MDT

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