HttpCachePolicyWrapper.VaryByContentEncodings Property


Gets the list of Content-Encoding headers that will be used to vary the output cache.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override HttpCacheVaryByContentEncodings VaryByContentEncodings { get; }

Property Value

Type: System.Web.HttpCacheVaryByContentEncodings

An object that specifies which Content-Encoding headers are used to select the cached response.

.NET Framework
Available since 3.5
Return to top