CDN Glossary

Comprehensive definitions of CDN terminology, caching concepts, and industry jargon.

C

Cache Fill

The process of populating a cache tier with content from upstream (shield or origin). A "fill" is essentially a cache miss that results in the content being stored. CDNs often track fill rates separately from hit rates to measure origin protection effectiveness.

Cache Key

A unique identifier generated from request attributes that determines whether requests can share a cached response. Typically derived from the URL and Host header, but can include other headers (via Vary), cookies, or query parameters depending on CDN configuration.

Cache Miss Types

Cold miss: First ever request (unavoidable). Capacity miss: Evicted due to full cache. Invalidation miss: Purged or expired. Fragmentation miss: Cached elsewhere, not in this PoP.

CMAF (Common Media Application Format)

A standard that allows the same media segments to be used with both HLS and DASH manifests. Instead of encoding and storing two separate sets of segments (MPEG-TS for HLS, fMP4 for DASH), you encode once in CMAF-compatible fMP4 and create only different manifests. This halves storage costs and si...

Content-Encoding

An HTTP response header indicating the compression algorithm applied to the response body. Common values: gzip, br (Brotli), zstd. The client must decompress using the specified algorithm before processing the content.

CSAI (Client-Side Ad Insertion)

The player fetches ads separately from the main content and stitches them together during playback. The CDN serves the same manifest and segments to all users; ad personalization happens in the player.

S

Segment

A small chunk of encoded video/audio, typically 2-10 seconds duration. Segments are the actual media files that players download and stitch together for playback. Common formats: .ts (MPEG-TS), .m4s (fragmented MP4), .mp4.

s-maxage

Stands for "shared max-age". Overrides max-age specifically for shared caches (CDNs, reverse proxies). Browser caches ignore this directive and use max-age instead. This allows different TTLs for edge caches vs. end-user browsers.

SSAI (Server-Side Ad Insertion)

Ads are stitched into the stream on the server/origin side. Each viewer may receive a personalized manifest with different ad segment URLs inserted. This defeats ad blockers but creates unique manifests per user.

stale-if-error

Allows caches to serve stale content when the origin returns an error (5xx) or is unreachable. This provides resilience—users see cached content rather than error pages when your origin has problems.

stale-while-revalidate

Allows caches to serve stale content immediately while fetching a fresh copy in the background. The user gets fast response times (cached content), and the next user gets fresh content. Specified as additional seconds beyond max-age during which stale serving is allowed.

Strong ETag

A strong ETag guarantees that two resources with the same ETag are byte-for-byte identical. Any change—even a single byte—requires a new ETag. Format: "abc123"

Surrogate Key / Cache Tag

A label attached to cached responses that allows purging all content with that label, regardless of URL. Set via response header (e.g., Surrogate-Key or Cache-Tag). When you purge the tag, all responses carrying that tag are invalidated.