segmented_​media_​streaming_​prefetch

Version: v2025-01-13Includes use: Yes

Behavior name: Segmented Media Streaming - Prefetch

Prefetches HLS and DASH media stream manifest and segment files, accelerating delivery to end users. For prefetching to work, your origin media's response needs to specify CDN-Origin-Assist-Prefetch-Path headers with each URL to prefetch, expressed as either a relative or absolute path.

Default behavior

These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.

data "akamai_property_rules_builder" "segmented_media_streaming_prefetch" {
  rules_v2025_02_18 {
    name     = "Segmented Media Streaming - Prefetch"
    comments = "Prefetches HLS and DASH media stream manifest and segment files."
    behavior {
      segmented_media_streaming_prefetch {
        enabled = false
      }
    }
  }
}
"behaviors": [
  {
    "name": "segmentedMediaStreamingPrefetch",
    "options": {
      "enabled": false
      }
    }
]

Options

Option Description
enabled
Enables media stream prefetching.