Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicktornl/wagtail-cache-invalidator
https://github.com/vicktornl/wagtail-cache-invalidator
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vicktornl/wagtail-cache-invalidator
- Owner: vicktornl
- Created: 2021-12-17T14:38:19.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T07:27:15.000Z (4 months ago)
- Last Synced: 2024-08-02T07:14:41.572Z (3 months ago)
- Language: Python
- Size: 125 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
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
[![Version](https://img.shields.io/pypi/v/wagtail-cache-invalidator.svg?style=flat)](https://pypi.python.org/pypi/wagtail-cache-invalidator/)
Invalidate and purge (frontend) cache via an user-friendly interface in the Wagtail CMS.
![Purge](./docs/purge.jpg)
## 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
```