Your Cache Is Serving Stale Data to the Wrong Users (opens in new tab)
The Simple Version A cache stores a copy of data so you don’t have to fetch the original every time. When that copy goes stale and your system doesn’t notice, users get old information presented with complete confidence. What a Cache Actually Does Every time your application fetches the same data repeatedly, it’s doing redundant work. A cache short-circuits that by storing the result of an expensive operation (a database query, an API call, a rendered page) and serving the stored copy on subs...
Read the original article