restrict_​object_​caching

Version: v2025-01-13Includes use: Yes

Behavior name: Object Caching

You need this behavior to deploy the Object Caching product. It disables serving HTML content and limits the maximum object size to 100MB. Contact Akamai Professional Services for help configuring it.

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.

Note: There are no options for this behavior. Placing it in the behavior block without options enables it.

data "akamai_property_rules_builder" "restrict_object_caching" {
  rules_v2025_02_18 {
    name     = "Object Caching"
    comments = "Disables serving HTML content and limits the maximum object size to 100MB."
    behavior {
      restrict_object_caching {
      }
    }
  }
}
"behaviors": [
  {
    "name": "restrictObjectCaching",
    "options": {
      "enabled": ""
    }
  }
]