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
Optional
content Type
An array of content types to use.
Optional
cookie
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.
Optional
desktop
Only fulfills this rule if sent from desktop.
Optional
hashparam
A condition to test against the hash parameters, e.g. “campaign”.
Optional
host
A condition to test against the host, e.g. “www.baqend.com”, “www.baqend.com:8443”.
Optional
mobile
Only fulfills this rule if sent from a mobile device.
Optional
pathname
A condition to test against the path name, e.g. “/some/path/here”.
Optional
rule Set Version
The RuleSet version number. This will affect the parsing of the RuleSet.
Optional
storage
A condition tested against storage entries.
Optional
tablet
Only fulfills this rule if sent from a tablet.
Optional
tv
Only fulfills this rule if sent from a TV.
Optional
url
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.