Skip to main content

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!

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.

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-cacheback-pozytywnie-0.7.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file django-cacheback-pozytywnie-0.7.tar.gz.

File metadata

File hashes

Hashes for django-cacheback-pozytywnie-0.7.tar.gz
Algorithm Hash digest
SHA256 89d2570cc0f9ec4945b699ea278b9092d3c94b5b063fd290c159dfa77f193a09
MD5 4bc850dd4e11df74a16df095c3766bed
BLAKE2b-256 360bebfdb97be354ee67bdc341e9b057a42354b2f5e6189b77e0c9e2f783ece3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page