Skip to content

vicktornl/wagtail-cache-invalidator

Repository files navigation

Wagtail Cache Invalidator

Version

Invalidate and purge (frontend) cache via an user-friendly interface in the Wagtail CMS.

Purge

Features

  • Invalidate cache manually via the Wagtail CMS
  • Site settings driven frontend cache settings (no code/deployments needed in order to change your settings)
  • Purge all cache (use with caution)

Requirements

Installation

Install the package

pip install wagtail-cache-invalidator

Add wagtail_cache_invalidator to your INSTALLED_APPS and make sure the frontend cache invalidator is setup.

INSTALLED_APPS = [
    ...
    "wagtail_cache_invalidator",
]

Run migrate

manage.py migrate