A simple Redis cache backend for Django.
This cache backend requires the redis-py Python client library for communicating with the Redis server.
Redis writes to disk asynchronously so there is a slight chance of losing some data, but for most purposes this is acceptable.
- Run
python setup.py install
to install, or placeredis_cache
on your Python path. Modify your Django settings to use
redis_cache
:CACHE_BACKEND = 'redis_cache.cache://<host>:<port>'