Skip to main content

Cacheback

Asynchronous cache refreshing for Django

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!

https://secure.travis-ci.org/codeinthehole/django-cacheback.png

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-pozytywnie 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-cacheback-pozytywnie 0.7
File Size Uploaded Provenance
django-cacheback-pozytywnie-0.7.tar.gz 8.2 kB Without provenance Details

Release files / django-cacheback-pozytywnie-0.7.tar.gz

Download URL django-cacheback-pozytywnie-0.7.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
89d2570cc0f9ec4945b699ea278b9092d3c94b5b063fd290c159dfa77f193a09
BLAKE2b-256 checksum
How to use checksums
360bebfdb97be354ee67bdc341e9b057a42354b2f5e6189b77e0c9e2f783ece3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-cacheback-pozytywnie 0.7

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.

Release history Release notifications | RSS feed

This release

0.7 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page