-
-
Couldn't load subscription status.
- Fork 3.2k
Open
Milestone
@leesolway
Description
I am currently working on a project where the number of menu items is to large to be entered into memcached. I would like to keep the default cache set to using memcached, and have the menu using File based caching or Redis. Currently this is not possible without forking.
Proposal: Add a settings to define which cache block to use.
CMS_MENU_CACHE = 'menu' CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', }, 'menu': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/var/tmp/django_cache', }, }