Interview practice question
Choosing TTLs for different data
System Design · Caching · Beginner
Suggest TTLs for: a user's profile photo URL, a product price, a weather widget and a news homepage.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Profile photo URL: hours or days, invalidate on change.
- Price: short or event-invalidated.
- Weather: 5-15 minutes.
- Homepage: 30-60 seconds.
- Match to change rate and impact.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.