predictive_prefetching
Version: v2025-01-13 | Includes use: Yes |
---|
Behavior name: Predictive Prefetching
This behavior potentially reduces the client's page load time by pre-caching objects based on historical data for the page, not just its current set of referenced objects. It also detects second-level dependencies, such as objects retrieved by JavaScript.
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" "predictive_prefetching" {
rules_v2025_02_18 {
name = "Predictive Prefetching"
comments = "Attempts reduction of the client's page load time by pre-caching objects based on historical data for the page."
behavior {
predictive_prefetching {
enabled = true
accuracy_target = "MEDIUM"
}
}
}
}
"behaviors": [
{
"name": "predictivePrefetching",
"options": {
"enabled": true,
"accuracyTarget": "MEDIUM"
}
}
]
Options
Option | Description |
---|---|
enabled |
Enables the predictive prefetching behavior.
|
accuracy_target |
The level of prefetching. A higher level results in better client performance, but potentially greater load on the origin. Value is one of:
|
Updated 33 minutes ago