Re: pop3: avoid fetching a mail twice
DINH Viêt Hoà <[email protected]>
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <etPan.4276320f.4b0072c6.d6f@utopia> |
Luke Ehresman wrote : > Can I assume from this response that the mailmap_* functions also do no > caching? They are just low-level functions that fetch information from the > IMAP server? I loved libEtPan before, but now I think it is the best thing > since sliced bread. This is exactly what I was needing. I have wanted to > handle the caching myself in my application, but I thought I was going to > have to live with the fact that both libEtPan and my app would retain > caches. These low-level functions are *exactly* what I needed. Thanks for > such a well-designed library. You can assume that. As additional information, even at higher-level API, you can choose not to cache the information: you have a flag 'cache' when creating the mailstore. At worse, there will be a memory cache for the message you are currently working with, but it won't be the case for IMAP implementation of the high-level API. => You don't need to use mailimap_* to avoid the use of the cache. Then, you won't have to rewrite everything. For information, why did you plan to do the cache yourself ? -- DINH Viet Hoa ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20