A video CDN is a network of servers that delivers video files or segments to viewers. If a suitable copy is available at the serving node, it can respond directly. In the case of a cache miss, another cache or the origin server can take over. This becomes particularly interesting when you want to understand why a video clip's start time varies or why viewers after a switch experience different versions.
A segment en route to the player
Imagine a guide is delivered via HLS. The player reads the playlist and requests the first video segment. When the first request arrives at a specific cache node, the segment might need to be fetched from further along the network. If another player soon afterward requests the same object with the same cache assignment, the node can serve the cached copy. However, this does not necessarily apply to the playlist itself—it may be stored for a shorter time or follow different retention rules. CloudFront describes this principle for its own network; details such as cache assignment and response headers depend on the provider.
AWS: How CloudFront handles requests
Two comparable requests are monitored
- Open the network tab in the browser and start a public test video. Identify an actually loaded media file or a specific segment; do not confuse it with the thumbnail or the HTML page.
- Run the same request in a fresh browser profile under comparable conditions. Ensure the same quality level, the same URL, and optionally the same byte range, and verify that the browser actually sends the request. Do not include access tokens in your notes.
- Record response status, time until first byte, and optionally the provider's cache headers. The standardized Age header indicates the estimated age of a cached response. A positive value suggests caching; the absence or a zero-value entry alone does not determine whether caching has occurred.
- Repeat the playback from the network where the issue occurs. A single cache hit does not indicate whether the player starts quickly or if the video stalls later.
RFC 9111: HTTP Caching and Age
Old versions and slow connections should be examined separately
If the old version appears after a swap, first compare the currently loaded playlist and segment addresses. Version-specific addresses for new content or targeted invalidation after the host has documented the changes can help when unchanged URLs still point to outdated cache entries. If the correct version still loads slowly, check the selected bitrate, the network connection, device load, and playback performance in the player separately.
A cache node in a specific region also provides little information about the location of the original content or where processing occurs. If location is important for your selection, review the data flows individually using the provider's documentation.
When it comes to video hosting, storage location and delivery differ.