<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] better header cache versioning



On Wednesday, 04 April 2007 at 17:24, Kyle Wheeler wrote:
>  On Wednesday, April  4 at 03:23 PM, quoth Brendan Cully:
> > Here's a patch that attempts to version the header cache more
> > accurately. It uses a little script to extract the type definitions
> > for the structures hcache saves, pipes them through an MD5, and uses
> > an unsigned long's worth of the result as a CRC.
> >
> > Comments?
> 
>  When it detects that the cache is outdated, does it delete it and
>  create a new one, or does it still silently ignore the cache
>  (requiring the user to guess why mutt is suddenly slower)?

Actually I'm a little puzzled by this. In my experience, if the header
cache check fails, the headers get refetched and replace what was in
the cache, so that the slowdown only occurs once. Which DB back end
are you using?

Attachment: pgp9qwa7TR56u.pgp
Description: PGP signature