Skip to content

Prevent Cache

W. Bomar edited this page Dec 9, 2021 · 3 revisions

Steps

  1. Create a file taccsite_cms/settings_local.py (if you do not already have one).

  2. In that file, add what you want from these options (and more, see docs).

    Refer to Django Cache Docs for our version (find Django).

    CACHES = {
        'default': {
            'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
        }
    }
    

    Refer to Django-CMS Configuration Docs for our version (find django-cms).

    CMS_PAGE_CACHE = False
    CMS_PLACEHOLDER_CACHE = False
    CMS_PLUGIN_CACHE = False