alphonse92 / alphonse92/javascript-prerender

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

オープン
#15 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。