Home > Configuration > Cache Redirection > setcrvserver_onpolicymatch

setcrvserver_onpolicymatch

Use this method to set redirect requests that match the policy to either the cache or the origin server, as specified.
Note: For this option to work, you must set the cache redirection type to POLICY.

Syntax



Parameters

name

Name of the cache redirection virtual server.
This is mandatory parameter.

onpolicymatch

Redirect requests that match the policy to either the cache or the origin server, as specified. Note: For this option to work, you must set the cache redirection type to POLICY.
Default value = CRD_ORIGIN.
Possible Values : CACHE, ORIGIN.

Return Value

Returns simpleResult

See Also