Nottingham, Mark (Australia) wrote:
>
> What does squid do when a client makes an IMS request, and the content
> is stale:
> 1.) and the origin server gives a 304
TCP_MISS/304 Cache miss. Clients copy is up to date. 304 reply
sent to client.
TCP_REFRESH_HIT/304 Cache refresh. Clients copy is up to date. 304
reply sent to client.
TCP_REFRESH_HIT/200 Cache refresh. Clients copy is stale. Whole object
sent from cache.
> 2.) the origin server supplies new content
TCP_MISS/200 Cache miss. Clients copy is stale. New object sent
to the client.
TCP_REFRESH_MISS/200 Refresh miss. New object sent to the client.
> In otherwords, there's a documented distinction between
> TCP_REFRESH_HIT and TCP_REFRESH_MISS; how is this distinction
> communicated during an TCP_IMS_MISS?
TCP_IMS_MISS is not a miss. It is a HIT where the client has a stale
copy. No request is sent to the origin server.
You should count TCP_IMS_* as TCP_HIT.
--- Henrik Nordström Sparetime Squid HackerReceived on Sat Sep 12 1998 - 09:32:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:58 MST