shiva-server icon indicating copy to clipboard operation
shiva-server copied to clipboard

Add (optional) caching layer in front of the DB

Open tooxie opened this issue 10 years ago • 0 comments

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.

tooxie avatar Jan 04 '15 10:01 tooxie