Specifies a custom text string to vary cached output responses by. Passed to Response.Cache.SetVaryByCustom.

Namespace:  EPiServer.Configuration
Assembly:  EPiServer.Configuration (in EPiServer.Configuration.dll) Version: 5.2.375.236

Syntax

C#
[StringValidatorAttribute(InvalidCharacters = "~!@#$%^&*()[]{}/;'"|\", MinLength = , 
	MaxLength = )]
[ManagerTabAttribute(ManagerTab.Cache)]
[ConfigurationPropertyAttribute("httpCacheVaryByCustom", DefaultValue = "browser", 
	IsRequired = false)]
public string HttpCacheVaryByCustom { get; set; }

See Also