Revision history  [back]

Use django-redis-cache just follow the project docs on the github README and it will work.

edit: these cache-related settings work on django 1.4.5.

CACHE_BACKEND = 'redis_cache.cache://localhost:6379'
CACHE_TIMEOUT = 6000
LIVESETTINGS_CACHE_TIMEOUT = CACHE_TIMEOUT
CACHE_PREFIX = 'askbot2' #make this unique
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True

Use django-redis-cache just follow the project docs on the github README and it will work.

edit: these cache-related settings work on django 1.4.5.

CACHE_BACKEND = 'redis_cache.cache://localhost:6379'
CACHE_TIMEOUT = 6000
LIVESETTINGS_CACHE_TIMEOUT = CACHE_TIMEOUT
CACHE_PREFIX = 'askbot2' #make this unique
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True