2025-11-18T21:32:53Z
Hooking cache evictions to accessors is a simple solution.
How do we actually go about evicting expired cache entries?
How do we ensure that we return quickly and not hang up on the cache eviction process?
Put a hook on the store's accessors to evict the expired cache entries.
Run the cache eviction process in another thread.
The state of the cache is contingent on ongoing interactions with the store.