diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 15:37:56 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-20 15:37:56 +1000 |
| commit | edd93c5652d210e8ad57f8f618926df6169f2c72 (patch) | |
| tree | d432e80b9f72251c3e14bbd9a40a91c6777cce98 /inc/config.php | |
| parent | 8b61b440e7abcade11ccd3924b9aefc1599d77ca (diff) | |
removed buggy memcaching for mods and added a new way of caching to increase index page regeneration times by a lot
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 5 |
1 files changed, 1 insertions, 4 deletions
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'; |
