[backend] add cache storage module (#4320)

* [backend] add cache storage module

* update docs

* update default TTL to a week
This commit is contained in:
Weiko
2024-03-07 14:07:01 +01:00
committed by GitHub
parent e7733a1b7a
commit 41bed57be9
12 changed files with 348 additions and 9 deletions

View File

@@ -41,6 +41,8 @@ import TabItem from '@theme/TabItem';
['FRONT_BASE_URL', 'http://localhost:3001', 'Url to the hosted frontend'],
['SERVER_URL', 'http://localhost:3000', 'Url to the hosted server'],
['PORT', '3000', 'Port'],
['CACHE_STORAGE_TYPE', 'memory', 'Cache type (memory, redis...)'],
['CACHE_STORAGE_TTL', '3600 * 24 * 7', 'Cache TTL in seconds']
]}></OptionTable>
### Security