Skip to content

Clear cache when deleting a page #434

@vsalvino

Description

@vsalvino

Currently we clear the wagtail-cache (via a wagtail hook) on page publish. However, when a page is deleted or unpublished, we should also clear the cache. This will prevent outdated pages from appearing on the website.

This can also be accomplished similarly with hooks.

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions