| Version: v2023-09-20 | Includes use: Yes | 
|---|
Behavior name: Content Characteristics - Dynamic Web Content
In conjunction with the sub_customer behavior, this optional behavior allows you to control how dynamic web content behaves for your subcustomers using Akamai Cloud Embed.
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" "dynamic_web_content" {
  rules_v2023_09_20 {
    name     = "Content Characteristics - Dynamic Web Content"
    comments = "Controls how dynamic web content behaves for your subcustomers."
    behavior {
      dynamic_web_content {
        sure_route           = true
        prefetch             = true
        real_user_monitoring = true
        image_compression    = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "dynamicWebContent",
    "options": {
      "sureRoute": true,
      "prefetch": true,
      "realUserMonitoring": true,
      "imageCompression": true
      }
  }
]
Options
| Option | Description | 
|---|---|
| sure_route | Optimizes how subcustomer traffic routes from origin to edge servers.  See the  sure_routebehavior for more information. | 
| prefetch | Allows subcustomer content to prefetch over HTTP/2.
         | 
| real_user_monitoring | Allows Real User Monitoring (RUM) to collect performance data for subcustomer content. See the  real_user_monitoringbehavior for more information. | 
| image_compression | Enables image compression for subcustomer content.
         | 
