resource_​optimizer_​extended_​compatibility

Version: v2025-01-13Includes use: Yes

Behavior name: Resource Optimizer Extended Compatibility

This enhances the standard version of the resource_optimizer behavior to support the compression of additional file formats and address some compatibility issues.

The brotli compression behavior replaces the Resource Optimizer feature. Learn more about using Brotli Compression.

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" "resource_optimizer_extended_compatibility" {
  rules_v2025_02_18 {
    name     = "Resource Optimizer Extended Compatibility"
    comments = "Supports the compression of additional file formats and manages some compatibility."
    behavior {
      resource_optimizer_extended_compatibility {
        enabled              = true
        enabled_all_features = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "resourceOptimizerExtendedCompatibility",
    "options": {
      "enabled": true,
      "enableAllFeatures": true
    }
  }
]

Options

Option Description
enabled
Enables the Resource Optimizer feature.
enable_all_features
Enables additional support and error handling.