By default, when a request matches a policy, the NetScaler
appliance forwards the request either to the origin server
directly, or to a load balancing virtual server for the origin,
depending on how you have configured cache redirection.
You can change the default behavior so that when a request
matches a policy, the request is forwarded to a load balancing
virtual server for the cache.
To change the destination for a policy hit to the origin or the
cache, use the onPolicyMatch parameter, which
specifies where to send requests that match the cache redirection
The valid options are:
- CACHE - Directs all matching requests to the cache.
- ORIGIN - Directs all matching requests to the origin
Note: For this option to work, you must select the
cacheredirection type as POLICY.
Possible values: CACHE, ORIGIN
Default value: ORIGIN