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

Re: Header-Cache problem with cache size



Hello Thomas, 

Am 2004-09-20 18:15:30, schrieb Thomas Glanzmann:
> Hello Michaelle,

>       - The Cache file in /tmp is more then 200 MBytes big
>               200Mbyte cache is way to big. I made a patch ready which
>               introduces a per folder hcache file. Maybe I should
>               include this upstream. - I am going to discuss that with
>               dato. You can find the patch at[2].

> [2] 
> http://wwwcip.informatik.uni-erlangen.de/~sithglan/mutt/patch-1.5.6+20040918+hc.per_folder_hc.1

I have a suggestion to the Header-Cache:

Because I use NFS, I can not cache my Headers via Network becasue 
it slows down the reading. 

On the link above it was written:

  ____ ( 'stdin' ) _____________________________________________________
 /
|  · add 'set header_cache=/path/to/hcache' to your muttrc. There are
|  two modi available: If header_cache is a directory, a per folder
|  hcache is used, otherwise all folders are cached in one database
 \______________________________________________________________________

It is goog and useful, that the $USER can select where he/she like to
have it. But if I use for example a Directory like

    set header_cache=/tmp/mutt-michelle/

I must create every time the Directory by my self...
I think, it is not a great deal, to do it within mutt automaticly.

On the otherside if I have a global muttrc, because I have an Internet
Cafee where the $HOME is on NFS too, it can not be used anymore, 
because it try to put all cachefiles in the same directory.

Or what is, if I have two or more $USER, which try to use the same name,
for example

    set header_cache=/tmp/hcache

then you run into trouble too. I think, it is enough, if the $USER can
choose between /tmp and $HOME which sould create directories like

    /tmp/mutt-hcache-<login>
or
    $HOME/.mutt-hcache/

To determie whether it is a file or directory based hcache, maybe ad

    set header_cache_type=file|dir
and
    set header_cache=tmp|home

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature