alphonse92 / alphonse92/javascript-prerender
feature/prerender/ make posible to switch caching way using the environment vars
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.