Re: Date and cache validations

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 2 Jun 2001 20:58:36 +1000

----- Original Message -----
From: "Henrik Nordstrom" <hno@marasystems.com>
To: <squid-dev@squid-cache.org>
Sent: Saturday, June 02, 2001 2:09 AM
Subject: Date and cache validations

> Hi fellow Squid hackers.
>
> As said earlier the Date header should be updated on cache validations
> in order to keep freshness controls operating properly, and I need
some
> input on which approach to select
>
> a) We could track this somehow in the cache index

This would be good, IIF the cache index never gets lost.

> b) Rewrite the whole object only to get the new Date header in there
>
> c) Figure out some way of updating the Date header in the disk object
> without rewriting the whole object from scratch

Ideally, the disk object could have a multi-section file format (there's
plenty around we can leverage), and we could just add a section to the
end, and wipe out the original header info.

> The code as is today attempts to at least update the in-memory
headers,
> but even this seems to fail.. but regardless the update should be
> permanent I think..

Absolutely.

Rob

> --
> Henrik
>
>
Received on Sat Jun 02 2001 - 04:58:57 MDT

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