Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Proposal - Additional setting CMS_MENU_CACHE #4440

Open
@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',
 },
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /