126 Citrix NetScaler Policy Configuration and Reference Guide
Prefixes for Cache-Control Headers

The following prefixes apply specifically to Cache-Control headers.

Operations for Cache-Control Headers

You can apply any of the operations for HTTP headers to Cache-Control headers.

For more information, see “Operations for HTTP Headers,” on page 122.

http header.
VALUE(instance number)An HTTP header can occur multiple times in a request
or a response. VALUE(0) selects the value in the last
instance, VALUE(1) selects the value in the next-to-
last instance, and so on. The instance number argument
cannot exceed 14.
Following is an example of a request with two headers:
HTTP/1.1 200 OK\r\n
MyHeader: abc\r\n
Content-Length: 200\r\n
MyHeader: def\r\n
\r\n
The following returns "abc\r\n":
http.res.header("MyHeader").value(1)

Prefixes That Extract Cache-Control Headers

HTTP Header Prefix Description
HTTP.REQ.CACHE_CONTROL Returns a Cache-Control header in an HTTP
request.
HTTP.RES.CACHE_CONTROL Returns a Cache-Control header in an HTTP
response.
Operations That Evaluate HTTP Headers
HTTP Header Operation Description