SpeedKitRule
contentType?: ContentType[];
cookie?: Condition;
desktop?: true;
hashparam?: Condition;
host?: Condition;
mobile?: true;
pathname?: Condition;
ruleSetVersion?: number;
storage?: Condition;
tablet?: true;
tv?: true;
url?: Condition;
}
Index
Properties
Properties
Optionalcontent Type
An array of content types to use.
Optionalcookie
A condition tested against cookies.
Use the cookie rule to test if a cookie with a given name and/or value.
The Condition that you pass to this attribute will be matched against
all available cookies (in the form of name=value) and this rule is fulfilled, when there exists
at least one cookie that matches that Condition.
Optionaldesktop
Only fulfills this rule if sent from desktop.
Optionalhashparam
A condition to test against the hash parameters, e.g. “campaign”.
Optionalhost
A condition to test against the host, e.g. “www.baqend.com”, “www.baqend.com:8443”.
Optionalmobile
Only fulfills this rule if sent from a mobile device.
Optionalpathname
A condition to test against the path name, e.g. “/some/path/here”.
Optionalrule Set Version
The RuleSet version number. This will affect the parsing of the RuleSet.
Optionalstorage
A condition tested against storage entries.
Optionaltablet
Only fulfills this rule if sent from a tablet.
Optionaltv
Only fulfills this rule if sent from a TV.
Optionalurl
A condition to test against the whole URL, e.g. “www.baqend.com/some/path#and-fragment-part”.
Use rules in your whitelist and blacklist to describe resource patterns.