Fresh Data: Preventing Stale Cache Hallucinations
Cache invalidation steps for keeping agent outputs current.
Steps
- Enforce strict TTLs for cached outputs.
- Allow explicit fresh-fetch bypasses.
- Stamp observations with fetch timestamps.
- Cache only exact query matches via hashing.
- Bypass cache for recency-sensitive queries.