Re: IMAP "cache" ( was Re: [Evolution] Purging pop account caches (1.4.6))

On Tue, 2005-06-21 at 12:50 +0800, Not Zed wrote:
On Mon, 2005-06-20 at 14:25 -0500, Ron Johnson wrote:
On Mon, 2005-06-20 at 13:33 +0800, Not Zed wrote:
On Sun, 2005-06-19 at 20:17 -0500, Ron Johnson wrote:
On Mon, 2005-06-20 at 09:22 +1000, Ian Mortimer wrote:
Some people here are still using 1.4.6 and I notice that a few have
large pop account cache directories:

   ~/evolution/mail/pop/whoever wherever com/cache

$ du -c -s -h .evolution/mail/imap/me haggis/folders
250M    .evolution/mail/imap/me haggis/folders
250M    total

Yes but imap isn't a cache, pop is!

If it looks like a duck, walks like a duck, and acts like a duck...

It's a header cache.

$ du -a .evolution/mail/imap/me haggis/folders/INBOX | \
       grep HEADER$ | wc -l

Do those 58K files need to sit there for all eternity?

Thats why IT ISN'T A CACHE.  A cache has a limit, things get removed
from it eventually.  Things NEVER get removed from the imap 'cache',
so ... it isn't a cache.  It is more of a server-copy.
   In computer science, a cache (pronounced kăsh) is a collection 
   of data duplicating original values stored elsewhere or computed
   earlier, where the original data are expensive (usually in terms 
   of access time) to fetch or compute relative to reading the 
   cache.  Once the data are stored in the cache, future use can 
   be made by accessing the cached copy rather than refetching or
   recomputing the original data, so that the average access time
   is lower.

Anyhow...  Is there a way to age off these files?

Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"Knowledge should be free for all."
Harcourt Fenton Mudd, Star Trek:TOS, "I, Mudd"

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]