Purge Runbook Authoring
Write the purge procedure for each content class, including who may trigger it and how fast it must take effect, so content removal is a rehearsed step rather than an improvisation
Use when: content removal depends on purge and no written procedure exists for when and how to clear entries
Avoid when: short lifetimes make purge unnecessary and the owner confirms removal never relies on it
Procedure
- List each content class and the purge type that reaches all of its entries, including keyed variants.
- Record the role authorized to trigger each purge type and the escalation path when that role is unavailable.
- State the expected propagation time per purge type, measured from an earlier test rather than assumed.
- Describe the verification step: which request to send afterwards and what status token proves the purge landed.
- Cover the failure path: what to do when verification still shows a stored copy after the expected delay.
- Store the runbook with the operations documentation and rehearse it once against a synthetic path.
Signals
- No written procedure exists for removing a specific class of content
- Only one person knows how to trigger the purge type a class requires
- Propagation time is stated as a guess rather than a measurement
- There is no verification step to prove a purge actually cleared the entry
Patterns
1. Runbook entry
class: article | purge: tag | role: release-engineer | expected: 60s | verify: GET with bust -> expect miss
2. Verification line
after purge, request the canonical path, one keyed variant and one expired entry; all three must report a miss
3. Escalation
if any of the three still reports a hit after the expected delay, escalate to <role> and fall back to <fallback purge type>
Pitfalls
- Writing a runbook that covers only the canonical URL while variants survive it
- Naming a role that no current team member actually holds
- Skipping rehearsal, so the first real use of the runbook is during an incident
Done when
- Every content class has a runbook entry with purge type, role, expected delay and verification
- The procedure has been rehearsed once against a synthetic path with the result recorded