alphonse92 / alphonse92/javascript-prerender

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

Aperta
#15 0 commenti 0 reazioni 1 assegnatario Rivendicata da @alphonse92 Vedi su GitHub
enhancement good first issue help wanted prerender readme
Lingua principale
JavaScript
Stelle
5
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.