forked from leftypol/leftypol
cache built posts' HTML with memcached
This commit is contained in:
parent
fcab256146
commit
e60a6a1a58
3 changed files with 13 additions and 2 deletions
|
@ -56,6 +56,8 @@
|
|||
// 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
|
||||
|
||||
// The name of the session cookie (PHP's $_SESSION)
|
||||
$config['cookies']['session']= 'imgboard';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue