What does this library do?
It’s an extensible caching library that refreshes stale cache items asynchronously using a Celery or rq task (utilizing django-rq). The key idea being that it’s better to serve a stale item (and populate the cache asynchronously) than block the response process in order to populate the cache synchronously.
Using this library, you can rework your views so that all reads are from cache - which can be a significant performance boost.
A corollary of this technique is that cache hammering can be handled simply and elegantly, avoiding sudden surges of expensive reads when a cached item becomes stale.
Do you have good docs?
Yup - over on readthedocs.org.
Supported versions
Python 3.10+ is supported. Django 5.2+ is supported.
Do you have tests?
You betcha!
Can I use this in my project?
Probably - subject to the MIT license.
I want to contribute!
Brilliant! Here are the contributing guidelines.
Metadata
Release files for django-cacheback 4.1.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 | Provenance | |
|---|---|---|---|---|
| django_cacheback-4.1.0.tar.gz | 10.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_cacheback-4.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.6 kB
Release files / django_cacheback-4.1.0.tar.gz
| Download URL | django_cacheback-4.1.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47b4997fe5ffe0e86fa550b5b20f11b4451bd21315f575966fc974913711e21a
|
|
BLAKE2b-256 checksum How to use checksums |
5f7db5a8bfcb8086689e6969f7e6b7a2010c4f471776e0aada2102975d6a7603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.11 Linux/7.0.3-arch1-2
|
Release files / django_cacheback-4.1.0-py3-none-any.whl
| Download URL | django_cacheback-4.1.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f78cc078b4b6ff1cdb1a8b7746dac7128635efa13812919ed89f97334018aa8c
|
|
BLAKE2b-256 checksum How to use checksums |
163d7087bd04d4d8ad5ce0a40b8b0e7d574a897d040bfcc336d9928ce589765f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.12.11 Linux/7.0.3-arch1-2
|
Security for django-cacheback 4.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.