Solve Problems · 14 h ago
A cache returns stale data only for logged-in users
A product page serves the right price to anonymous visitors, but signed-in users sometimes see a price from yesterday. Clearing the cache fixes it for everyone, then the problem creeps back within an hour. The cache key includes the URL and the language header, and nothing about the session. My first check would be whether a Vary header or a cookie is being dropped between the app and the cache layer. What would you inspect next, and in what order?