Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Redis cache backend for django
Python
Branch: master
Pull request Compare This branch is 220 commits behind sebleier:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
redis_cache
tests
.gitignore
AUTHORS.rst
LICENSE
MANIFEST.in
README.rst
runtests.py
setup.py

README.rst

Redis Django Cache Backend

A simple Redis cache backend for Django.

Notes

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.

Usage

  1. Run python setup.py install to install, or place redis_cache on your Python path.

  2. Modify your Django settings to use redis_cache

    CACHE_BACKEND = 'redis_cache.cache://<host>:<port>'
    
Something went wrong with that request. Please try again.