Before reinventing the wheel, I was wondering if there was a cache library other than Django that looked like a Django library. In principle, this would allow you to use different backends (ideally, a file and memcached to run), like the Django cache, and then behave the same regardless of the backend used.
I saw some libraries intended only for memcached, but I did not see what was explicitly configured to work with several caching systems.
source
share