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
|
@ -1258,7 +1258,7 @@
|
|||
));
|
||||
|
||||
if($config['memcached']['cache_threads'] && $config['memcached']['enabled']) {
|
||||
$memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + 86400);
|
||||
$memcached->set('thread_' . $board['uri'] . '_' . $id, $body, time() + $config['memcached']['timeout']);
|
||||
}
|
||||
|
||||
if($return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue