SpeedUp Roundcube

Published by Christian on

Hi Folks,

after a long time using my Roundcube system with severals Users for several domains, I had the issue that the frontend would be slower and slower.
So I read the default config of Roundcube to find a way to speed up my Roundcube.
And I found a good way to do this, I enable caching for messages and index data and now the front end reacts within 1 sec.
Before that, it could happen that a simple folder change would need up to 30 sec.
Here is what I Insert into my config/config.php:

// new part IMAP Cache
// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$config['imap_cache'] = 'db';

// Enables messages cache. Only 'db' cache is supported.
// This requires an IMAP server that supports QRESYNC and CONDSTORE
// extensions (RFC7162). See synchronize() in program/lib/Roundcube/rcube_imap_cache.php
// for further info, or if you experience syncing problems.
$config['messages_cache'] = true;

// Lifetime of IMAP indexes cache. Possible units: s, m, h, d, w
$config['imap_cache_ttl'] = '10d';

// Lifetime of messages cache. Possible units: s, m, h, d, w
$config['messages_cache_ttl'] = '10d';

// Maximum cached message size in kilobytes.
// Note: On MySQL this should be less than (max_allowed_packet - 30%)
$config['messages_cache_threshold'] = 50;

That was all and now I’m really happy with the performance.


Categories: Alle Posts

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: