alphonse92 / alphonse92/javascript-prerender

feature/prerender/ make posible to switch caching way using the environment vars

未關閉
#15 0 則留言 0 個 reaction 已指派 1 人 已被 @alphonse92 認領 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。