CacheConfigurationArgs

data class CacheConfigurationArgs(val cacheBehavior: Output<Either<String, RuleCacheBehavior>>? = null, val cacheDuration: Output<String>? = null, val isCompressionEnabled: Output<Either<String, RuleIsCompressionEnabled>>? = null, val queryParameters: Output<String>? = null, val queryStringCachingBehavior: Output<Either<String, RuleQueryStringCachingBehavior>>? = null) : ConvertibleToJava<CacheConfigurationArgs>

Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.

Constructors

Link copied to clipboard
constructor(cacheBehavior: Output<Either<String, RuleCacheBehavior>>? = null, cacheDuration: Output<String>? = null, isCompressionEnabled: Output<Either<String, RuleIsCompressionEnabled>>? = null, queryParameters: Output<String>? = null, queryStringCachingBehavior: Output<Either<String, RuleQueryStringCachingBehavior>>? = null)

Properties

Link copied to clipboard
val cacheBehavior: Output<Either<String, RuleCacheBehavior>>? = null

Caching behavior for the requests

Link copied to clipboard
val cacheDuration: Output<String>? = null

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

Link copied to clipboard

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.

Link copied to clipboard
val queryParameters: Output<String>? = null

query parameters to include or exclude (comma separated).

Link copied to clipboard

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.

Functions

Link copied to clipboard
open override fun toJava(): CacheConfigurationArgs