CacheConfiguration Class
Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.
Constructor
CacheConfiguration(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
query_string_caching_behavior
|
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. Known values are: "IgnoreQueryString", "UseQueryString", "IgnoreSpecifiedQueryStrings", and "IncludeSpecifiedQueryStrings". |
|
query_parameters
|
query parameters to include or exclude (comma separated). |
|
is_compression_enabled
|
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. Known values are: "Enabled" and "Disabled". |
|
cache_behavior
|
Caching behavior for the requests. Known values are: "HonorOrigin", "OverrideAlways", and "OverrideIfOriginMissing". |
|
cache_duration
|
The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss. |
Attributes
cache_behavior
"HonorOrigin", "OverrideAlways", and "OverrideIfOriginMissing".
cache_behavior: str | _models.RuleCacheBehavior | None
cache_duration
ss.
cache_duration: str | None
is_compression_enabled
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. Known values are: "Enabled" and "Disabled".
is_compression_enabled: str | _models.RuleIsCompressionEnabled | None
query_parameters
query parameters to include or exclude (comma separated).
query_parameters: str | None
query_string_caching_behavior
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. Known values are: "IgnoreQueryString", "UseQueryString", "IgnoreSpecifiedQueryStrings", and "IncludeSpecifiedQueryStrings".
query_string_caching_behavior: str | _models.RuleQueryStringCachingBehavior | None