[dev] [cvs] commit: imp/config conf.xml imp/lib Mailbox.php imp/lib/IMAP Cache.php

Michael M Slusarz slusarz at horde.org
Wed Apr 26 20:52:14 PDT 2006


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>>  Log:
>>  After thinking about this further, there is no reason we need a    
>> cache timeout
>>  for mailbox list caching.  If the mailbox changes, the information obtained
>>  from imap_status() will catch it.  The only issue might be with search
>>  results but we can tweak this as we go.
>
> Not that a timeout is the best solution for this, but what about when
> just a flag changes (like \ANSWERED).

This is exactly what I am working on.  I think all we need to do is  
only rebuild the mailbox list if a flag changes and we are using a  
search mailbox (i.e. adding a IMP_MAILBOX_FLAG option to  
IMP_Mailbox::updateMailbox() and calling this from IMP_Message:flag()).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the dev mailing list