Logo
Explore Help
Register Sign In
Nemcio/NodeBB
1
0
Fork 0
You've already forked NodeBB
mirror of https://github.com/NodeBB/NodeBB.git synced 2025-11-03 12:36:02 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
f1f9b225b0af70ae9b3b6c67a2b96dc47cf8a294
NodeBB/src/cache.js

10 lines
137 B
JavaScript
Raw Normal View History

cache categories:cid and cid:<cid>:children these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
'use strict';
feat: #8824, cache refactor (#8851) * feat: #8824, cache refactor ability to disable caches ability to download contents of cache refactor cache modules to remove duplicated code * fix: remove duplicate hit/miss tracking check cacheEnabled in getUncachedKeys
2020-11-06 23:13:12 -05:00
const cacheCreate = require('./cacheCreate');
cache categories:cid and cid:<cid>:children these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
feat: #8824, cache refactor (#8851) * feat: #8824, cache refactor ability to disable caches ability to download contents of cache refactor cache modules to remove duplicated code * fix: remove duplicate hit/miss tracking check cacheEnabled in getUncachedKeys
2020-11-06 23:13:12 -05:00
module.exports = cacheCreate({
name: 'local',
feat: increase size of local cache
2019-09-11 18:09:39 -04:00
max: 4000,
cache categories:cid and cid:<cid>:children these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
maxAge: 0,
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 356ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API