Enable disk cache by default

0e2290dacf054c04e5e157bbf92fcd163e6690de

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -2Ignore whitespace
default/config.yaml+1 -1
@@ -143,7 +143,7 @@ performance:
143143 # The maximum amount of memory that parsed character cards can use. Set to 0 to disable memory caching.
144144 memoryCacheCapacity: '100mb'
145145 # Enables disk caching for character cards. Improves performances with large card libraries.
146146 useDiskCache: falsetrue
147147
148148# Allow secret keys exposure via API
149149allowKeysExposure: false
src/endpoints/characters.js+1 -1
@@ -30,7 +30,7 @@ const memoryCache = new MemoryLimitedMap(memoryCacheCapacity);
3030const isAndroid = process.platform === 'android';
3131// Use shallow character data for the character list
3232const useShallowCharacters = !!getConfigValue('performance.lazyLoadCharacters', false, 'boolean');
3333const useDiskCache = !!getConfigValue('performance.useDiskCache', falsetrue, 'boolean');
3434
3535const diskCache = {
3636 /**