removed buggy memcaching for mods and added a new way of caching to increase index page regeneration times by a lot

This commit is contained in:
Savetheinternet
2011-05-20 15:37:56 +10:00
parent 8b61b440e7
commit edd93c5652
2 changed files with 21 additions and 19 deletions

View File

@@ -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';