Django Cache Fallback.
- 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'
}
}
Release files for django-cache-fallback 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_cache_fallback-0.4.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_cache_fallback-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.0 kB
Release files / django_cache_fallback-0.4.0.tar.gz
| Download URL | django_cache_fallback-0.4.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f494f1aaad0a2951443b8fc59eaa54aaa7ce1107c9a0ec8e23a61a135502cb8
|
|
BLAKE2b-256 checksum How to use checksums |
07970bd6ae3f663841a94a44994e59e5b4cc55d1dbeed3b1e23520eb1572f79f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency logRelease files / django_cache_fallback-0.4.0-py2.py3-none-any.whl
| Download URL | django_cache_fallback-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d443eb61c4d200a5b563a17e22f5afd6a4af897bad2d579dd85f2ae2523e235c
|
|
BLAKE2b-256 checksum How to use checksums |
060474cf26771b28650a35710ce02fb66a2c5aafc9427ee6cd4a460225c35791
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.
Transparency log