Skip to content

Conversation

@jojobote
Copy link
Collaborator

@jojobote jojobote commented Sep 11, 2025

Adding cache tag features V1 :

When saving a post :
Sends a purge request to Cloudflare with :
Cache tags comprised of ID of the page cfo-12345
Custom tag that can be set in the admin
image

When generating HTML:
Adds a header that will be interpreted by Cloudflare:
comprised of ID of the page
image

Admin page:
Can enable purging by cache tags INSTEAD of by URL.
Can set a Custom Tag to clear every time a post from a certain Post Type is saved.
image

Implementation notes :

Need to send a header like post-archive on archive pages

TODO:
Some admin cleanup, styling, UX etc

@jojobote jojobote requested a review from clobee September 12, 2025 15:01
@clobee
Copy link
Collaborator

clobee commented Sep 18, 2025

I looks all good to me 🥇
I haven't noticed anything out of the ordinary - All good

Copy link
Collaborator

@clobee clobee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good - even though I am still due to get familiar with the tagging process

@jojobote jojobote merged commit 6b2503c into main Sep 18, 2025
2 checks passed
@jojobote jojobote deleted the MNB-931 branch September 18, 2025 10:00
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

Successfully merging this pull request may close these issues.

3 participants