preconnect

Version: v2025-01-13Includes use: Yes

Behavior name: Manual Preconnect

With the http2 behavior enabled, this requests a specified set of domains that relate to your property hostname, and keeps the connection open for faster loading of content from those domains.

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" "preconnect" {
  rules_v2025_02_18 {
    name     = "Manual Preconnect"
    comments = "Requests a specified set of domains that relate to your property hostname, and keeps the connection open for faster loading of content from those domains."
    behavior {
      preconnect {
        preconnect_list = ""
      }
    }
  }
}
"behaviors": [
  {
    "name": "preconnect",
    "options": {
      "preconnectlist": ""
    }
  }
]

Options

Option Description
preconnectlist
Specifies the set of hostnames to which to preconnect over HTTP2.