Browser & Web Performance · Senior · Question 38 of 75
Why is caching an authenticated API response in a shared CDN cache dangerous even with a short TTL?
- 1CDNs can't cache JSON
- 2Short TTLs disable compression
- ✓Correct answer: Another user may receive the first user's personal data from the cache
Explanation
Personalized responses need private or no-store. Many incidents came from a CDN rule that ignored Authorization or cookies.