Skip to content

cache-selector

The following operations can be performed on "cache-selector":

add| rm| set| show|

add cache selector

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.

Synopsis

add cache selector <selectorName> <rule> ...

Arguments

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.

rule

One or multiple PIXL expressions for evaluating an HTTP request or response.

rm cache selector

Removes cache selectors. Note: A selector being used as a hit or invalidation selector in any content group cannot be removed without unsetting it from the content group.

Synopsis

rm cache selector <selectorName>

Arguments

selectorName

Name of the selector.

set cache selector

Modify the set of PIXL expressions associated with a cache selector.

Synopsis

set cache selector <selectorName> <rule> ...

Arguments

selectorName

Name of the selector to be modified.

rule

One or multiple PIXL expressions for evaluating an HTTP request or response.

show cache selector

Displays all cache selectors, or the specified.

Synopsis

show cache selector [<selectorName>]

Arguments

selectorName

Name of the selector to display.

Output

flags

Flags.

rule

Rule.

builtin

feature

The feature to be checked while applying this config

devno

count

stateflag

Was this article helpful?