InterviewBuddy
All interview questions

Why can caching be dangerous for user dashboards?

Advanced

Answer

A shared cache can serve one user’s private data to another if the cache key or scope is wrong. Keep private queries scoped to identity and use appropriate cache behavior.