URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy constructor
const
URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy({})
Creates a new URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy.
excludedQueryParameters Names of query string parameters to exclude in cache keys. All other
includeHost If true, requests to different hosts will be cached separately. Note:
includeProtocol If true, http and https requests will be cached separately. Note: This
includeQueryString If true, include query string parameters in the cache key according to
includedCookieNames Allows HTTP cookies (by name) to be used in the cache key. The
includedHeaderNames Allows HTTP request headers (by name) to be used in the cache key.
includedQueryParameters Names of query string parameters to include in cache keys. All other
Implementation
const URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy({
this.excludedQueryParameters,
this.includeHost,
this.includeProtocol,
this.includeQueryString,
this.includedCookieNames,
this.includedHeaderNames,
this.includedQueryParameters,
});