Berildocs GitHub

Memory cards

A CDN is a cache with a key and a purge

confidence: mediumupdated: 2026-11-25status: activenetworkcdncache

Claim#

The cache key decides the hit. A purge is eventual; a versioned URL is immediate.

Test#

Change a header that is not in the key. Purge and request. Check the hit ratio.

Proof#

A cache key that separates variants and a purge that works.

Failure modes#

A cookie in the key fragments the cache. A purge across POPs is not instant.