suggestion: cache files

From: Balint Nagy Endre <bne@dont-contact.us>
Date: Thu, 25 Jul 1996 10:30:06 +0200 (MET DST)

Hi,

I wand to suggest some change to cache file format in squid:
it would be fine to split info two separate files the
response headers and the entity body.
This would make possible of updating the headers from a 304 response
(as per RFC1945 and the ongoing HTTP/1.1) leaving the entity body itself
untouched.
RFC1945:

 304 Not Modified

   If the client has performed a conditional GET request and access is
   allowed, but the document has not been modified since the date and
   time specified in the If-Modified-Since field, the server must
   respond with this status code and not send an Entity-Body to the
   client. Header fields contained in the response should only include
   information which is relevant to cache managers or which may have
   changed independently of the entity's Last-Modified date. Examples
   of relevant header fields include: Date, Server, and Expires. A
   cache should update its cached entity to reflect any new field
   values given in the 304 response.

After this is done, we can change the expiry machinery in squid, to
keep all cachable responses while disk space available.
Discarding of these files may be based on acces rate / change rate.

Andrew. (Endre Balint Nagy) <bne@CareNet.hu>
Received on Thu Jul 25 1996 - 01:35:54 MDT

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