Caching library for Django that uses Celery to refresh cache items asynchronously
Project description
What does this library do?
It’s an extensible caching library that refreshes stale cache items asynchronously using a Celery task. The key idea being that it’s better to serve a stale item (and populate the cache asynchronously) than block the user 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.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-cacheback-pozytywnie-0.7.tar.gz
.
File metadata
- Download URL: django-cacheback-pozytywnie-0.7.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d2570cc0f9ec4945b699ea278b9092d3c94b5b063fd290c159dfa77f193a09 |
|
MD5 | 4bc850dd4e11df74a16df095c3766bed |
|
BLAKE2b-256 | 360bebfdb97be354ee67bdc341e9b057a42354b2f5e6189b77e0c9e2f783ece3 |