Interview practice question
CDN serving outdated API versions
System Design · Caching · Experienced
After deploying a new API response format, some mobile clients get the old format from the CDN and crash. What went wrong and how do you design for it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Cache key ignores API version.
- Old responses served under same URL.
- Version in URL or key (Vary).
- Backward-compatible responses.
- Purge on breaking changes.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.