https://github.com/vicktornl/wagtail-cache-invalidator
https://github.com/vicktornl/wagtail-cache-invalidator
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vicktornl/wagtail-cache-invalidator
- Owner: vicktornl
- Created: 2021-12-17T14:38:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T07:27:15.000Z (11 months ago)
- Last Synced: 2024-11-02T19:34:03.433Z (7 months ago)
- Language: Python
- Size: 125 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wagtail - Wagtail Cache Invalidator - Invalidate and purge (frontend) cache via an user-friendly interface in the Wagtail CMS. (Apps / Misc)
README
# Wagtail Cache Invalidator
[](https://pypi.python.org/pypi/wagtail-cache-invalidator/)
Invalidate and purge (frontend) cache via an user-friendly interface in the Wagtail CMS.

## 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
- Python 3
- Django >= 2
- Wagtail >= 3
- wagtail-modeladmin==2.0.0
- [Frontend cache invalidator](https://docs.wagtail.io/en/stable/reference/contrib/frontendcache.html)## Installation
Install the package
```
pip install wagtail-cache-invalidator
```Add `wagtail_cache_invalidator` to your `INSTALLED_APPS` and make sure the [frontend cache invalidator](https://docs.wagtail.io/en/stable/reference/contrib/frontendcache.html) is setup.
```
INSTALLED_APPS = [
...
"wagtail_cache_invalidator",
]
```Run migrate
```
manage.py migrate
```