HttpResponseWrapper.SuppressDefaultCacheControlHeader Property

Definition

Gets or sets a value indicating whether to suppress the default Cache Control: private header for the current HTTP response.

C#
public override bool SuppressDefaultCacheControlHeader { get; set; }

Property Value

true to suppress the default Cache Control: private header for the current HTTP response; otherwise, false.

Applies to

Product Versions
.NET Framework 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1