fix: expose page SEO fields and invalidate shared page cache

This commit is contained in:
2026-10-11 18:02:12 +08:00
parent eab27b3454
commit 858f35cf62
4 changed files with 57 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ def notify_frontend_revalidate(sender, instance, **kwargs):
try:
requests.post(
settings.FRONTEND_REVALIDATE_URL,
json={"tags": [f"page:{instance.id}", instance.url_path]},
json={"tags": ["wagtail-pages", f"page:{instance.id}", instance.url_path]},
headers={"Authorization": f"Bearer {settings.REVALIDATE_SECRET}"},
timeout=3,
)