tooxie / shiva-server

A RESTful API to your music collection
http://shiva.readthedocs.org/en/latest/intro.html
MIT License
557 stars 51 forks source link

Add (optional) caching layer in front of the DB #156

Open tooxie opened 9 years ago

tooxie commented 9 years ago

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: