Django Using Redis with Django - Caching Backend Using django-redis-cache


One potential implementation of Redis as a backend caching utility is the django-redis-cache package.

This example assumes you already have a Redis server operating.

$ pip install django-redis-cache

Edit your to include a CACHES object (see Django documentation on caching).

    'default': {
        'BACKEND': 'redis_cache.RedisCache',
        'LOCATION': 'localhost:6379',
        'OPTIONS': {
            'DB': 0,