uWSGI Django cache backend
Project description
uWSGI Django cache backend. Started from a snippet at http://uwsgi-docs.readthedocs.org/en/latest/WebCaching.html
Free software: BSD license
Installation
pip install django-uwsgi-cache and change settings to:
CACHES = { 'default': { 'BACKEND': 'uwsgicache.UWSGICache', # and optionally, if you use a different cache name 'LOCATION': 'foobar' } }
Requirements
Django 1.4 or later
Settings
UWSGI_CACHE_FALLBACK
False - raises Exception if uwsgi cannot be imported.
True (default) - if uwsgi is not importable this cache backend will alias to LocMemCache. Note that south or other mangement commands might try to load the cache backend so this is why it’s the default.
Changelog
1.0.0 (2014-12-10)
Support for special timeout values in Django 1.6 and 1.7 (contributed by Laurent Payot)
0.3.0 (2014-07-25)
Python 3 support (contributed by Laurent Payot)
Support for cache.clear (contributed by Omer Katz)
0.? (?)
N/A (contributed by Riccardo Magliocchetti)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_uwsgi_cache-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e9ff9c72b1a0a66ef625a8a1cd0b5215ea5c27014656c2d023020afa680da5 |
|
MD5 | 0d505120438361e66bc4ea8912b35a90 |
|
BLAKE2b-256 | 81a5f844f574442843501a35df97a9704230b7fa8e89a93248c2f4631185cb29 |