After a deploy, some users keep seeing the old version of the SPA or get a blank white screen. How would you configure caching so this doesn't happen?
~4 min by voice
How to approach it
They're checking whether you understand how HTTP caching works for an SPA: what to cache for a long time, what to revalidate, and why a white screen can appear after a deploy because of deleted chunks. This isn't a question about "how to clear the cache" but about a strategy where you don't need to clear anything.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.