Currently uses a local Python dictionary for caching, but can be updated to use Redis
Created a cache.py file which stores the config for caching and it also prevents circular imports if written directly in main.py. Also, it makes the code better organized
I am also planning to resolve the issue #360. But I need to clarify some doubts:
Where to store the Redis instance configuration? Should we store it as environment variables in .env.example?
Should I update using Python dictionary for caching to Redis for caching too?
Resolves #362
cache.py
file which stores the config for caching and it also prevents circular imports if written directly inmain.py
. Also, it makes the code better organizedI am also planning to resolve the issue #360. But I need to clarify some doubts: