Your wote is alternative 'a' then.
-- Henrik Andres Kroonmaa wrote: > Is there any reason why we'd need to update ondisk object? > If no then that would seem needless overhead. > > Why not strip off Date header during store, and always generate it > from data in storeEntry? Basically keep track in swap.state. > When servicing object, merge ondisk version with latest storeEntry. > > Or did I completely miss the point? > > On 1 Jun 2001, at 18:09, Henrik Nordstrom <hno@marasystems.com> wrote: > > > 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 > > > > 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 > > > > 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.. > > > > -- > > Henrik > > > > ------------------------------------ > Andres Kroonmaa <andre@online.ee> > CTO, Microlink Online > Tel: 6501 731, Fax: 6501 708 > Pärnu mnt. 158, Tallinn, > 11317 EstoniaReceived on Sat Jun 02 2001 - 00:11:11 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:03 MST