cache built posts' HTML with memcached
This commit is contained in:
1 parent
fcab256146
commit
e60a6a1a58
3 files changed
+13
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user