cache_​key_​rewrite

Version: v2025-02-18Includes use: Yes

Behavior name: Cache Key Path Rewrite (Beta)

This behavior rewrites a default cache key's path. 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.

data "akamai_property_rules_builder" "cache_key_rewrite" {
  rules_v2025_02_18 {
    name     = "Cache Key Path Rewrite (Beta)"
    comments = "Rewrites a default cache key's path."
    behavior {
      cache_key_rewrite {
        purge_key = ""
      }
    }
  }
}
"behaviors": [
  {
    "name": "cacheKeyRewrite",
    "options": {
      "purgeKey": ""
    }
  }
]

Options

Option Description
purge_​key
Specifies the new cache key path as an alphanumeric value.