Interview practice question
Purging bad content from the CDN
System Design · Caching · Intermediate
A wrong image was published and is now cached on the CDN for 24 hours. How do you remove it quickly, and how do you design for this in future?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Use CDN purge/invalidation API.
- Purge by URL, tag or prefix.
- Also clear browser caching issue.
- Future: versioned URLs, cache tags.
- Shorter TTL for mutable content.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.