Problem Statement
When should a CDN be placed in your HLD?
Explanation
CDNs push bytes closer to users and absorb traffic spikes. They reduce origin load and tail latency for assets or cacheable API responses.
Use cache keys, TTLs, and invalidation paths that reflect personalization and auth.
Code Solution
SolutionRead Only
Cache-Key: path + query(normalized)
Practice Sets
This question appears in the following practice sets:
