Interview practice question
Users see old prices
System Design · Caching · Beginner
After updating prices, customers still see old prices for an hour. What is going on and how do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Cache TTL of one hour, no invalidation.
- Invalidate keys on price update.
- Purge CDN if cached there.
- Shorter TTL for prices.
- Verify price at checkout.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.