From 6dc0269fcc9f11fbd53da1fb647237ab73cf394d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 03 Oct 2005 17:20:42 -0400
Subject: [PATCH] Make message caching configurable

---
 config/main.inc.php.dist |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 6498e01..86f0778 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -18,6 +18,10 @@
 // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
 $rcmail_config['debug_level'] = 5;
 
+// 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'] = TRUE;
+
 // automatically create a new user when log-in the first time
 // set to false if only registered users can use this service
 $rcmail_config['auto_create_user'] = TRUE;

--
Gitblit v1.9.1