All challenges
Multiple ChoiceIntermediate 45s

CDN invalidation tradeoff

A team needs to update a popular CDN-cached image within seconds globally. Which approach is generally most reliable?
Options
  1. 1Rely on the object's TTL expiry to propagate the update once the cached copy ages out on each edge PoP independently
  2. 2Purge-by-URL invalidation propagated to all PoPs, or content-versioned URLs (cache-busting) for instant effect
  3. 3Restart all edge nodes so their on-disk caches clear and they are forced to refetch the new image from the origin
  4. 4Disable caching entirely for that asset's path so every request is served directly from the origin for the foreseeable future

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle