Instruction: Explain how you would debug a cache that looks efficient but degrades experience.
Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Explain how you would debug a cache that looks efficient but degrades experience.
Official answer available
Preview the opening of the answer, then unlock the full walkthrough.
I would treat this as a cache correctness problem, not as a cache success story. A high hit rate is only good if the cached response is still valid for the user, context, and freshness expectations of the request.
I would inspect cache keys, invalidation rules,...
easy
easy
easy
easy
easy
easy