What is the best framework / reusable application for caching model instances (object level cache) in Django?

What is the best framework / library / reusable app for caching model instances in Django? (This approach is also known as transparent object cache, ORM cache, line level object cache, object level cache)

Responsive applications that implement this. The problem is that many of them! Here I found (maybe even more):

http://github.com/mmalone/django-caching/ http://github.com/dcramer/django-orm-cache http://github.com/dziegler/django-cachebot http://bitbucket.org/jmoiron/johnny-cache http://github.com/jbalogh/django-cache-machine http://github.com/SeanHayes/django-query-caching 

I don’t want to test each library, I just want to look at the one that does this work and solve more problems that it creates (β€œIn Computer Science, there are only two difficult problems: cache invalidity and naming things)

Please share your experience.

+4
source share
2 answers

About a year ago I had the same question. It was tested around a dozen solutions and finally narrowed down to johnny-cache and django-cache-machine. Used the latter for no reason, both are stable and good enough.

+1
source

I just considered the same consideration and settled on django-cache-machine because it currently supports django 1.5 (Summer 2013), and johnny's cache has open requests for django 1.5 support that have not been merged into YMMV.

0
source

All Articles