alphonse92 / alphonse92/javascript-prerender
feature/prerender/ make posible to switch caching way using the environment vars
未关闭
enhancement
good first issue
help wanted
prerender
readme
- 主要语言
- JavaScript
- 星标
- 5
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Is your feature request related to a problem? Please describe.**
I need a environment parameter to switch between redis cache or memory cache
**Describe the solution you'd like**
We need a environment variable called as "CACHE_TYPE", it could be "REDIS" or "MEMORY", it will be "MEMORY" as default.
**Describe alternatives you've considered**
If CACHE_TYPE === "MEMORY" then the prerender microservice will cache all in memory.
else if CACHE_TYPE === "REDIS" then the prerender microservice will use redis microservice to caching al data
**Additional context**
- CACHE_TYPE only must setted using env vars
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。