alphonse92 / alphonse92/javascript-prerender
feature/prerender/ make posible to switch caching way using the environment vars
- Ngôn ngữ chính
- JavaScript
- Star
- 5
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.