On 14.09.2010 20:25, Nico Schlömer wrote:
I'm running a RoundCube installation on a FreeBSD server here, and it's fed by a *remote IMAP server. As recommended in the settings, I set
$rcmail_config['enable_caching'] = true;
but despite this, accessing the mails is *dead slow. It takes at least 5 seconds to access any given folder, and this doesn't seem to change after the folder has been accessed once (and hence cached?). This makes using RoundCube quite inconvenient.
Enable imap_debug and check the log, it will show you which command is slow if it's IMAP problem. If the login process is slow, then imapproxy could help.
Other tips: http://trac.roundcube.net/wiki/Howto_Performance
ps. I don't use caching in Roundcube, but I know it's code. Caching has some issues and is slow in some cases. Caching is also not used when threading is enabled. One issue is that you need to have all messages in cache to use it. It means, if you have a few pages on the list, you'll need to display them all, to make sure that Roundcube stores all messages in the cache.