alphonse92 / alphonse92/javascript-prerender

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

Abierto
#15 0 comentarios 0 reacciones 1 asignado Reclamado por @alphonse92 Ver en GitHub
enhancement good first issue help wanted prerender readme
Lenguaje dominante
JavaScript
Estrellas
5
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.