shiva-server
shiva-server copied to clipboard
Add (optional) caching layer in front of the DB
If enabled, it would search for a redis instance where to cache the most used information. Possible configs:
from shiva.cache.drivers import RedisDriver
CACHE_DRIVER = RedisDriver
CACHE_HOST = 'localhost'
CACHE_PORT = 6379
To keep in mind:
- Cache invalidation can get tricky.