django-newcache
django-newcache copied to clipboard
Improved memcached cache backend for Django
Since timeouts get the CACHE_HERD_TIMEOUT added to them after they've been normalized for memcache, timeouts within CACHE_HERD_TIMEOUT seconds of 30 days will be passed to memcache raw, where they will...
I've done this the same way as the default django cache django_pylibmc/memcached.py I don't have tests for it, but it works.
With Django's default cache backend, if it cannot communicate properly with memcache it will treat is at a cache miss and fall back gracefully. Is there some way to configure...
Due to TemplateResponses not being re-pickelable: https://code.djangoproject.com/ticket/16326 This is fixed in 1.4, but gives some weird errors before that. Is this fixable or should there just be a warning in...
pylibmc supports compression via zlib. These changes allow you to optionally enable that by setting PYLIBMC_MIN_COMPRESS_LEN to any value greater than 0 in your settings.py (0 is the default and...
I'm using django-newcache on top of memcached with python-memcache on Django 1.3. For some reason incr() and decr() always fail with a ValueError saying the key cannot be found, even...
I think it'd be good if newcache didn't extend key life. Currently, .set extends to timeout + HERD_TIMEOUT. I realize that the miss should later re-call set, but if it...