Skip to content

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

@alphonse92

Description

@alphonse92

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededprerenderLabel for changes at prerenderreadmeonly readme changes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions