Share via


ICacheConfiguration Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.CacheConfigurationTypeConverter))]
public interface ICacheConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.CacheConfigurationTypeConverter))>]
type ICacheConfiguration = interface
    interface IJsonSerializable
Public Interface ICacheConfiguration
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

CacheBehavior

Caching behavior for the requests

CacheDuration

The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss

IsCompressionEnabled

Indicates whether content compression is enabled. 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.

QueryParameter

query parameters to include or exclude (comma separated).

QueryStringCachingBehavior

Defines how Frontdoor caches requests that include query strings. You can ignore any query strings when caching, ignore specific query strings, cache every request with a unique URL, or cache specific query strings.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to