Django - persistent cache

Is there a way that I can unlimitedly set the cache key using the django framework by default? I tried to set the timeout to 0, but this, unfortunately, does not set the key.

+5
source share
2 answers

Someone recently mentioned Johnny Cache in an unrelated answer. It provides endless caching locmemand memcachedwhen a timeout is provided 0.

+2
source

Django 1.6 now accepts None for a timeout argument to indicate forever.

https://docs.djangoproject.com/en/dev/topics/cache/#basic-usage

+2
source

All Articles