cache built posts' HTML with memcached

This commit is contained in:
Savetheinternet 2011-05-19 21:50:19 +10:00
parent fcab256146
commit e60a6a1a58
3 changed files with 13 additions and 2 deletions

View file

@ -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)