1
ltlian
3y

One user could report that the data they saw didn't make sense. Turns out there was a one-off hardcoded caching detail for one of our services that cached based on a search query (yes, the entire query was the key) and before any auth checks. The system would return the results owned by whoever asked first, no matter who asked after that point.

There's "Oh dear but we all make mistakes" and there's surrender cobra. This is what PRs are for.

Comments
  • 1
    I once ended up caching the username displayed in the site-header.

    "Oh looks like everyone who visits the site for the next 2 minutes will be named John"
Add Comment