mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 05:28:20 +02:00
cache categories:cid and cid:<cid>:children
these rarely change, no need to go to db for them
This commit is contained in:
@@ -175,6 +175,8 @@ function setupMockDefaults(callback) {
|
||||
groups.resetCache();
|
||||
var postCache = require('../../src/posts/cache');
|
||||
postCache.reset();
|
||||
var localCache = require('../../src/cache');
|
||||
localCache.reset();
|
||||
next();
|
||||
},
|
||||
function (next) {
|
||||
|
||||
Reference in New Issue
Block a user