alt_​svc_​header

Version: v2023-09-20Includes use: Yes

Behavior name: Alt-Svc Header

Sets the maximum age value for the Alternative Services.

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" "alt_svc_header" {
  rules_v2025_02_18 {
    name     = "Alt-Svc Header"
    comments = "Sets the maximum age value for the Alternative Services."
    behavior {
      alt_svc_header {
        max_age = 93600
      }
    }
  }
}
"behaviors": [
  {
    "name": "altSvcHeader",
    "options": {
      "maxAge": 93600
    }
  }
]

Options

Option Description
max_age
Specifies the max-age value in seconds for the Alt-Svc header. The default max-age for an Alt-Svc header is 93600 seconds (26 hours).