media_​file_​retrieval_​optimization

Version: v2025-01-13Includes use: Yes

Behavior name: Media File Retrieval Optimization

Media File Retrieval Optimization (MFRO) speeds the delivery of large media files by relying on caches of partial objects. You should use it for files larger than 100 MB. It's required for files larger than 1.8 GB, and works best with NetStorage.

To apply this behavior, you match on a file_extension.

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" "media_file_retrieval_optimization" {
  rules_v2025_02_18 {
    name     = "Media File Retrieval Optimization"
    comments = "Speeds the delivery of large media files by relying on caches of partial objects."
    behavior {
      media_file_retrieval_optimization {
        enabled = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "mediaFileRetrievalOptimization",
    "options": {
      "enabled": true
      }
  }
]

Options

Option Description
enabled
Enables the partial-object caching behavior.