From edd93c5652d210e8ad57f8f618926df6169f2c72 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 20 May 2011 15:37:56 +1000 Subject: removed buggy memcaching for mods and added a new way of caching to increase index page regeneration times by a lot --- inc/config.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index 6df9a79f..0e2205cc 100644 --- a/inc/config.php +++ b/inc/config.php @@ -53,11 +53,8 @@ $config['memcached']['servers'] = Array( Array('localhost', 11211) ); - // Experimental: cache entire thread HTML (for mods, since we already cache it with static HTML anyway) - // Increases load times for mods but might take up a bit of memory - $config['memcached']['cache_threads'] = false; // Timeout for cached objects such as posts and HTML - $config['memcached']['timeout'] = 86400; // one day + $config['memcached']['timeout'] = 43200; // 12 hours // The name of the session cookie (PHP's $_SESSION) $config['cookies']['session']= 'imgboard'; -- cgit v1.3