Invalidate transients on data-version change and manual purge #31

Open
opened 2026-07-01 01:05:26 +00:00 by manlycucumber · 0 comments
manlycucumber commented 2026-07-01 01:05:26 +00:00 (Migrated from github.com)

Problem

When the upstream data-version bumps or an admin forces a refresh, cached transients must be cleared so corrected data is served.

Acceptance criteria

  • A data-version bump observed from the Api purges affected transients.
  • A settings action lets an admin flush all Ordo transients manually.
  • Flushing does not remove unrelated site transients.
  • A test asserts that stale entries are gone after a version bump.

Notes

Manual purge is the operator escape hatch when caches look wrong.

## Problem When the upstream data-version bumps or an admin forces a refresh, cached transients must be cleared so corrected data is served. ## Acceptance criteria - [ ] A data-version bump observed from the Api purges affected transients. - [ ] A settings action lets an admin flush all Ordo transients manually. - [ ] Flushing does not remove unrelated site transients. - [ ] A test asserts that stale entries are gone after a version bump. ## Notes Manual purge is the operator escape hatch when caches look wrong.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Ordo#31
No description provided.