Home > Configuration > Integrated Caching > addcacheselector

addcacheselector

Use this method to creates an Integrated Cache selector. A selector is an abstraction for a collection of PIXL expressions. After creating a selector, you can use it as a hit selector, invalidation selector, or both. You must specify at least one expression when you create a selector.

Syntax



Parameters

selectorname

Name for the selector. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters.
This is mandatory parameter.

rule

One or multiple PIXL expressions for evaluating an HTTP request or response.
This is mandatory parameter.

Return Value

Returns simpleResult

See Also