Roundcube Community Forum

 

Large folder list

Started by martinkong, February 04, 2010, 07:18:48 AM

Previous topic - Next topic

martinkong

I'm planning to deploy Roundcube in my company, thank you for such a nice products.

However, we have users with large number of folders, e.g.  over 4000 folders in one account.  This makes the folders list pane and folders setting page painfully slow.  I can think of couple ways to speed it up:

- In the folders list pane, don't show the number of unread emails in each folder.

- In the folders setting page, don't show the number of emails in each folder.

Is there any plug-in for that?  If not, I think I will go ahead and make one.  But it will take some time for me to get familiar with Roundcube plug-in development.      If I just want to make a temporary change in Roundcube core code, can someone point me to where about I should look.

Also, any other idea for speeding up the performance with such a large number of folders?

Thanks!

SKaero

RoundCube by default doesn't check each of the folders for new messages, check that $rcmail_config['check_all_folders'] is set to FALSE in /config/main.inc.php. I recommend reading Howto_Performance ? Roundcube Webmail it should help get faster performances.

martinkong

Quote from: skaero;25215RoundCube by default doesn't check each of the folders for new messages, check that $rcmail_config['check_all_folders'] is set to FALSE in /config/main.inc.php. I recommend reading Howto_Performance ? Roundcube Webmail it should help get faster performances.

Thanks for the quick reply.  Actually, I have already set check_all_folders to FALSE.  But the folders list pane still shows number of unread emails in each folder, is that normal?

The Folders setting page also takes a long time to load, I think part of the time is spent checking the number of emails in each folder.  It would be nice if I can turn that off as well.

SKaero

That is not the correct behavior, can you try the SVN and see if it is still happening, there has been some updates to that function. I don't know of a setting that turns off the folder count in the setting.

martinkong

Actually, "Checking for new messages" does indeed only check for new messages in Inbox and NOT other folders.  So I think the $rcmail_config['check_all_folders'] is working.  Right?

I mean when the folder list is being re-built (e.g. when switching back from Settings to E-Mail), it always tries to find out the number of un-read mails in each folder and this takes a long time.

Thanks!