Topic

caching

2 min read

The agent cached a GET by path and handed one tenant another tenant's row

The agent memoized a slow GET endpoint keyed only on the request path, warmed it locally under one fixed test user, and stayed green. In staging, a second tenant read the first tenant's row because the cache key never included the authenticated subject.

Read article