CompressionSettings interface

settings for compression.

Properties

contentTypesToCompress

List of content types on which compression applies. The value should be a valid MIME type.

isCompressionEnabled

Indicates whether content compression is enabled on AzureFrontDoor. 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 AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.

Property Details

contentTypesToCompress

List of content types on which compression applies. The value should be a valid MIME type.

contentTypesToCompress?: string[]

Property Value

string[]

isCompressionEnabled

Indicates whether content compression is enabled on AzureFrontDoor. 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 AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.

isCompressionEnabled?: boolean

Property Value

boolean