VariationRule
Index
Properties
Properties
Optional
rules
The rules to match only some resources.
variation Function
The function to determine the variation for the requested resource. The function can also be declared as string representation. Parameters for the variation function are the current request, the device type and the cookies which are currently set. The output is a variation identifier for which a custom handling has to be implemented in the server runtime configuration.
A cookie variation rule determines the needed variation for the current request. See SpeedKitConfig.customVariation | the custom variation option for more information.
Since
1.21.0