Django (web framework): What is the recommended way to cache objects that are very large (>1.5MB)?
26th October 2012
My answer to Django (web framework): What is the recommended way to cache objects that are very large (>1.5MB)? on Quora
Take a look at redis—it can handle binary strings up to 512 MB and has performance that is similar to memcache. It’s very easy to use from within Django (there’s even a pluggable cache backend for it).
More recent articles
- Trying out the new Gemini 2.5 model family - 17th June 2025
- The lethal trifecta for AI agents: private data, untrusted content, and external communication - 16th June 2025
- An Introduction to Google’s Approach to AI Agent Security - 15th June 2025