CacheKeyPolicy class

Message containing what to include in the cache key for a request for Cloud CDN.

Constructors

CacheKeyPolicy()
CacheKeyPolicy.fromJson(Map _json)

Properties

includeHost ↔ bool
If true, requests to different hosts will be cached separately.
read / write
includeProtocol ↔ bool
If true, http and https requests will be cached separately.
read / write
includeQueryString ↔ bool
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.
read / write
queryStringBlacklist ↔ List<String>
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.
read / write
queryStringWhitelist ↔ List<String>
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.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited