1. Some imap servers are faster than others. Some imap servers can be
setup to be faster. Dovecot indexes mail and so can return things
from the index that are kept there faster than others. Other servers
also have performance features built in.
a. Make sure roundcube is using the proper auth settings to login to
the imap server (since you login for every connection, lag here will
be seen quite often)
b. Make sure DNS is setup correctly (problems with reverse dns
resolution can cause lag when logging in, which happens on every
transaction)
2. I'm pretty sure most imap servers are going to return results in a
batch, not stream them as they find them. So I don't think your idea
would buy much for what is probably a large deal of work to
implement. In any case, there's probably a number of things you can
do before you get to doing crazy things like that.
3. Some sort of tooling built into roundcube to measure times for
certain things (imap login, message retreival, searches, etc.) would
be nice, let them know what's taking time, and help people get the
most out of roundcube.
--Brian Jackson
p.s. Sorry this email is all over the place. It represents my mental
state pretty closely though.
On Jun 12, 2007, at 10:30 AM, [EMAIL PROTECTED] wrote:
I switched from squirrelmail a couple of months ago and so far I'm
happy. I
was really hoping roundcube would be faster, but it's really not.
My IMAP
server is local, and I'm running Apache2 with the php module.
Bringing up
50 (or 100) messages in the same folder is nearly identical speed for
squirrelmail and roundcube. This leads me to believe the time is
spend in
either the php compilation or the local IMAP work. So, I'm
wondering if we
could just make roundcube appear faster.
I'm a C coder, not a PHP or web guy, so this may all be bogus, but
here
goes:
- User views a folder.
- Roundcube gets the count pretty quickly and renders a stand in
page with
"<retrieving headers>" for each message line, giving me a pretty
quick page
load.
- The IMAP work continues in the background and as each message
header is
retrieved the from, subject, recvd date, is filled in line by line.
If this is possible, it leverages the user's time spent looking at a
message to download other message headers.