Share via


Endpoint.IsCompressionEnabled Property

Definition

Gets or sets indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.isCompressionEnabled")]
public bool? IsCompressionEnabled { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.isCompressionEnabled")>]
member this.IsCompressionEnabled : Nullable<bool> with get, set
Public Property IsCompressionEnabled As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to