3 ms·
My understanding is Django 4.0 would include SUPPORT for a redis cache backend using a subclass of django.core.cache.backends.BaseCache Now they are shipping a
by whoknowswhat11 5y ago
My understanding is Django 4.0 would include SUPPORT for a redis cache backend using a subclass of django.core.cache.backends.BaseCache
Now they are shipping a built in Redis cache back-end?
That would be so totally crazy that I am having trouble believing this headline.
How about "Django 4.0 will include built-in Redis cache support"
- cat199 5y ago> Now they are shipping a built in Redis cache back-end? no. actual link as you surmised states: This PR aims at adding support for Redis to be used as a caching backend with Django. As redis is the most popular caching backend, adding it to django.core.cache module would be a great addition for developers who previously had to rely on the use of third party packages. so just a bad link title
- tyingq 5y agoI was somewhat surprised to see that the django.core.cache module didn't support an mmap based cache. The default cache is per-process, so it's somewhat limited in effectiveness. Something like Redis solves that, but adds another running process to manage. In the PHP world, for example, acpu is a popular user-facing cache that uses mmap so that it works cross-process, then you can move to redis if you want to scale across more than one host.