skip to navigation
skip to content

Not Logged In

django-cacheback 0.2

Caching library for Django that uses Celery to refresh cache items asynchronously

Latest Version: 0.7

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 items 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.

 
File Type Py Version Uploaded on Size
django-cacheback-0.2.tar.gz (md5) Source 2012-09-02 6KB
  • Downloads (All Versions):
  • 66 downloads in the last day
  • 349 downloads in the last week
  • 1210 downloads in the last month