summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-18 11:48:47 +0000
committeralecpl <alec@alec.pl>2011-05-18 11:48:47 +0000
commit5cf5ee66c1fd3e86f009124aee58df26780ce311 (patch)
tree4fdb2b6b43bad4215672c3e97643c71f6e3a3bee /config
parent76d4019a355019f2cc3465bd36e3475f80c3d745 (diff)
- Added general rcube_cache class with memcache support
- Improved caching performance by skipping writes of unchanged data - Option enable_caching replaced by imap_cache and messages_cache options
Diffstat (limited to 'config')
-rw-r--r--config/main.inc.php.dist11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 3391d1608..169a3a044 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -109,6 +109,13 @@ $rcmail_config['imap_auth_cid'] = null;
// Optional IMAP authentication password to be used for imap_auth_cid
$rcmail_config['imap_auth_pw'] = null;
+// Type of IMAP indexes cache. Supported values: 'db' and 'memcache'.
+$rcmail_config['imap_cache'] = null;
+
+// Enables messages cache. Only 'db' cache is supported.
+$rcmail_config['messages_cache'] = false;
+
+
// ----------------------------------
// SMTP
// ----------------------------------
@@ -169,10 +176,6 @@ $rcmail_config['log_dir'] = 'logs/';
// use this folder to store temp files (must be writeable for apache user)
$rcmail_config['temp_dir'] = 'temp/';
-// enable caching of messages and mailbox data in the local database.
-// this is recommended if the IMAP server does not run on the same machine
-$rcmail_config['enable_caching'] = false;
-
// lifetime of message cache
// possible units: s, m, h, d, w
$rcmail_config['message_cache_lifetime'] = '10d';