From: Marc Groot Koerkamp <marc@sq...> - 2006-10-17 20:58:05
On Tue, October 17, 2006 10:02 pm, Iavor Raytchev wrote:
> Marc Groot Koerkamp wrote:
>> Exactly. We also need to adapt our folder list code and only retrieve
>> the sub mailboxes on expand. So expand should trigger an XMLHttpRequest
>> to retrieve the boxes below a parent box (make use of the HasChildren
>> flag in the LSUB/LIST response of an imap call). This would reduce the
>> amount of time SquirrelMail needs to retrieve the complete mailbox-tree
>> because this can be slow when dealing with hundreds of mailboxes.
> We use Cyrus IMAP now and I need 2 seconds after pressing the login
> button to see the full Squirrelmail with all my 1400+ folders and 1-2 GB
> mail. Unfortunately we can not tell people to use Cyrus. But if Cyrus is
> able to cache the folders - may be we could cache them as well.
I use Cyrus too. Cyrus is not the problem, other servers are slower in
returning LSUB/LIST results.
And we do cache the folder list. But to cache we need to receive the list
first and that happens on login.
> I am not that much into IMAP - but is there way to ask IMAP only 'have
> you changed since last time' - and if not - to retrieve the folders from
> our internal storage (database or whatever, sqllite).
Nope, that option does not exist.
Marc Groot Koerkamp.