Cache Configuration Args
data class CacheConfigurationArgs(val cacheDuration: Output<String>? = null, val dynamicCompression: Output<Either<String, DynamicCompressionEnabled>>? = null, val queryParameterStripDirective: Output<Either<String, FrontDoorQuery>>? = null, val queryParameters: Output<String>? = 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(cacheDuration: Output<String>? = null, dynamicCompression: Output<Either<String, DynamicCompressionEnabled>>? = null, queryParameterStripDirective: Output<Either<String, FrontDoorQuery>>? = null, queryParameters: Output<String>? = null)
Properties
Link copied to clipboard
The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
Link copied to clipboard
Whether to use dynamic compression for cached content
Link copied to clipboard
query parameters to include or exclude (comma separated).
Link copied to clipboard
Treatment of URL query terms when forming the cache key.