Expand purge scope on post update #13

Open
opened 2026-09-13 11:53:39 +00:00 by kevin.bataille · 0 comments
Owner

Purging only the edited post and the homepage leaves related listing pages stale: blog pagination (/page/2/ ...), category/tag/term archives containing the post, the author archive, and their feeds.

Spec: on post publish/update, purge_post_cache() also clears:

  • home/blog pagination
  • all term archives the post belongs to
  • the author archive
  • date archive
  • feeds of the above

Depends on the exclusion/bypass rules staying consistent with #12 (drop-in TTL).

Purging only the edited post and the homepage leaves related listing pages stale: blog pagination (/page/2/ ...), category/tag/term archives containing the post, the author archive, and their feeds. **Spec:** on post publish/update, purge_post_cache() also clears: - home/blog pagination - all term archives the post belongs to - the author archive - date archive - feeds of the above Depends on the exclusion/bypass rules staying consistent with #12 (drop-in TTL).
kevin.bataille added the phase-1 label 2026-09-13 11:53:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kevin.bataille/wp-recache#13