diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-19 21:50:19 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-19 21:50:19 +1000 |
| commit | e60a6a1a582478d76893beec7408e7ea752c876c (patch) | |
| tree | 2e2ffd912f616eec0ff6f439567f271655c38626 /inc/config.php | |
| parent | fcab256146bd9ef25028cf0e484360df841c1f8e (diff) | |
cache built posts' HTML with memcached
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index cceaabe2..6df9a79f 100644 --- a/inc/config.php +++ b/inc/config.php @@ -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'; |
