Illustration of adaptive bitrate streaming: a ladder of video quality tiers feeding a player with phone and TV screens

Video that adapts to the viewer's connection is, from the CDN's point of view, a pile of small web files. That's good news: ordinary HTTP caching handles it. It also means the cache settings decide whether a stream starts in a second or stalls.

What does adaptive bitrate streaming put on your servers?

Teams moving from a single MP4 to adaptive streaming are often surprised by the file count. Wikipedia's article on adaptive bitrate streaming describes the mechanism: the source is encoded at several bit rates, each stream is cut into segments of a few seconds, and the player downloads a manifest that lists them. The player starts on the lowest bit rate and moves up if its measured throughput allows, or down if the network gets worse.

NetDNA's support archive has a dynamic bitrate example built on Flowplayer and Wowza with four renditions at 400, 800, 1,200 and 1,600 kbps (it uses RTMP, the pre-HTTP approach). Take those four bit rates as a ladder and a one-hour film as the source:

  • Combined bit rate: 400 + 800 + 1,200 + 1,600 = 4,000 kbps
  • Storage: 4,000 kbps x 3,600 s = 14,400,000 kilobits, or 1.8 GB (14,400,000 / 8 = 1,800,000 KB)
  • Files, with 6-second segments: 3,600 / 6 = 600 segments per rendition, and 600 x 4 = 2,400 segment files, plus manifests

Those 2,400 objects are plain files. Wikipedia notes that HTTP-based streaming lets browsers, proxies and CDNs cache video fragments, which sharply reduces load on the source server. That's the whole reason the industry moved off stateful protocols.

Which streaming format should the CDN carry?

Several formats exist, and the history explains the choice. Wikipedia dates Apple's HTTP Live Streaming (HLS) to June 2009 with iOS 3.0, and says MPEG published the first DASH standard, ISO/IEC 23009-1, in April 2012. It also reports that Adobe's HTTP Dynamic Streaming is considered deprecated as of 2026. For a new setup that leaves HLS and DASH, and many players can read both.

The CDN doesn't care which one you pick, as long as the files are served over HTTP with sensible headers. That's an advantage of the segment model: the same VOD zone for on-demand video and a live zone for events serve plain files in either format. NetDNA's HDDN video network, covered in this archived announcement, also treated video as a separate delivery job from web assets.

What cache lifetime does each file need?

This is where streams break. A manifest and a segment look alike to a cache, but they behave differently.

Say a live webinar uses 6-second segments. The manifest changes every 6 seconds as new segments appear. If the CDN caches it for 60 seconds, viewers see a stale list and the player stalls waiting for segments it doesn't know exist. A live manifest lifetime at or below the segment length (6 seconds or less) avoids that, and a request collapsing feature at the edge keeps the origin from being hit by every viewer at once. The segments, on the other hand, never change once published, so they can carry a long lifetime.

A workable table:

  • VOD manifest: long, since it won't change once the film is published.
  • VOD segments: long, with unique filenames per encode so a re-encode never clashes with an old copy.
  • Live manifest: equal to or less than the segment duration.
  • Live segments: short to medium; viewers only need the last few minutes.

Players running in a browser also need cross-origin headers when the video comes from a CDN hostname, which is the same Access-Control-Allow-Origin issue that blocks fonts.

What does it cost, and how much does the origin see?

Say 1,000 viewers each watch the hour at an average of 1,200 kbps. Per viewer that's 1,200 x 3,600 = 4,320,000 kilobits, or 540 MB (4,320,000 / 8 = 540,000 KB). For 1,000 viewers: 540 GB. At NetDNA's published entry rate of $0.060/GB that's $32.40 of bandwidth (540 x 0.06), before the $800 monthly account minimum.

Without a cache, the origin would send those 540 GB itself. With one, each segment file leaves the origin once per edge location. If every viewer were served by a single location, the origin would ship the 1.8 GB ladder once, which is 0.33% of the viewer traffic (1.8 / 540). With four locations it's 7.2 GB, about 1.3%. Real numbers depend on how viewers spread and which renditions they pick, but the order of magnitude is why video is a natural CDN workload.

One rule that prevents most stalls

Treat the manifest and the segments as two cache classes from day one. Segments get long lifetimes and unique names. The live manifest gets a lifetime no longer than one segment. Test by watching the stream while requesting the manifest twice with curl -sI a few seconds apart; if the age header runs past the segment length, the stream is on borrowed time.

Related: Dynamic bitrate example, best CDN for video, Cache-Control headers.