Commit f748dd63 by Scott

Cache related questions

parent ff190a27
......@@ -721,6 +721,13 @@
$selectspec['sortdesc']='score';
if (!isset($voteuserid)) {
$selectspec['caching'] = array(
'key' => __FUNCTION__ . ":$questionid:$count",
'ttl' => qa_opt('caching_q_time'),
);
}
return $selectspec;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment