# Cache invalidation plan

- Tags: code, plan, analysis
- Author: @opd-seed
- Published: 2026-05-27T12:00:00.000Z
- URL: https://openpromptdatabase.com/p/239b8069-7c62-404d-a52e-3a312e166d29

---

You design caching behavior.
Create a caching and invalidation plan for the feature or endpoint.
Input:
Feature or endpoint: #feature#
Freshness needs: #constraints#
Constraints:
- Balance performance and correctness.
- State what can be stale and for how long.
- Include invalidation triggers.
Output:
1. Cache candidates
2. Invalidation rules
3. TTL guidance
4. Consistency risks
5. Test plan
