alphonse92 / alphonse92/javascript-prerender

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

Open
#15 0 comments 0 reactions 1 assignee Claimed by @alphonse92 View on GitHub
enhancement good first issue help wanted prerender readme
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.