Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page cache purging inconsistent #1503

Open
harrislapiroff opened this issue Sep 28, 2022 · 3 comments
Open

Page cache purging inconsistent #1503

harrislapiroff opened this issue Sep 28, 2022 · 3 comments

Comments

@harrislapiroff
Copy link
Contributor

harrislapiroff commented Sep 28, 2022

Noticed that after @stephaniesugars updated this article cloudflare continued to retain the old cached copy.

Is wagtail's frontendcache contrib not working?

image
Left side was in a not-logged-in browser window, right side is logged in and thus bypassing cloudflare

@chigby
Copy link
Contributor

chigby commented Sep 28, 2022

We do have some amount of logging set up for this, so you can see that at least some cache purging events are being recorded:

Link to logs

@chigby
Copy link
Contributor

chigby commented Sep 28, 2022

From looking at this code, it's actually not clear to me that we ever intended that updating an incident page would trigger a cache purge for that specific page. Maybe it was an unintended consequence of the recently-removed "related incident" purging code?

@chigby
Copy link
Contributor

chigby commented Sep 28, 2022

Or maybe it was an intended consequence and we just forgot about it because there were no tests for that case specifically.

@soleilera soleilera added someday and removed someday labels Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants