Home > Configuration > Compression > setcmpparameter_addvaryheader

setcmpparameter_addvaryheader

Use this method to set control insertion of the Vary header in HTTP responses compressed by Citrix ADC. Intermediate caches store different versions of the response for different values of the headers present in the Vary response header.

Syntax



Parameters

addvaryheader

Control insertion of the Vary header in HTTP responses compressed by Citrix ADC. Intermediate caches store different versions of the response for different values of the headers present in the Vary response header.
Default value = DISABLED.
Possible Values : ENABLED, DISABLED.

varyheadervalue

The value of the HTTP Vary header for compressed responses. If this argument is not specified, a default value of "Accept-Encoding" will be used.

Return Value

Returns simpleResult

See Also