Django Cache Fallback 0.3.0 | Coderz Repository

django-cache-fallback 0.3.0

Last updated:

0 purchases

django-cache-fallback 0.3.0 Image
django-cache-fallback 0.3.0 Images

Free

Languages

Categories

Add to Cart

Description:

djangocachefallback 0.3.0

Info:
This is the README file for Django Cache Fallback.

Author:
Jakub Stawowy



PURPOSE
Allows you to set fallback cache backend (multiple cache backend).
The data is not shared between cache backends.
Example: Memcached is not available, backend switch to fallback. Site may slow down (cache have to be set)
but will not rise an error (watch your logs)


INSTALLATION
pip install django-cache-fallback
INSTALLED_APPS = (
...
'cache_fallback',
)


USAGE
Usage example PyLibMCCache + LocMemCache
CACHES = {
'default': {
'BACKEND': 'cache_fallback.FallbackCache',
},

'main_cache': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '/tmp/memcached.sock',
'TIMEOUT': 500,
},
'fallback_cache': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'unique'
}

}

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.