BackendServiceCdnPolicyCacheKeyPolicy

data class BackendServiceCdnPolicyCacheKeyPolicy(val includeHost: Boolean? = null, val includeHttpHeaders: List<String>? = null, val includeNamedCookies: List<String>? = null, val includeProtocol: Boolean? = null, val includeQueryString: Boolean? = null, val queryStringBlacklists: List<String>? = null, val queryStringWhitelists: List<String>? = null)

Constructors

Link copied to clipboard
constructor(includeHost: Boolean? = null, includeHttpHeaders: List<String>? = null, includeNamedCookies: List<String>? = null, includeProtocol: Boolean? = null, includeQueryString: Boolean? = null, queryStringBlacklists: List<String>? = null, queryStringWhitelists: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val includeHost: Boolean? = null

If true requests to different hosts will be cached separately.

Link copied to clipboard

Allows HTTP request headers (by name) to be used in the cache key.

Link copied to clipboard

Names of cookies to include in cache keys.

Link copied to clipboard

If true, http and https requests will be cached separately.

Link copied to clipboard

If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.

Link copied to clipboard

Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.

Link copied to clipboard

Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.