URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy constructor

const URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy({
  1. Input<List<String>?>? excludedQueryParameters,
  2. Input<bool?>? includeHost,
  3. Input<bool?>? includeProtocol,
  4. Input<bool?>? includeQueryString,
  5. Input<List<String>?>? includedCookieNames,
  6. Input<List<String>?>? includedHeaderNames,
  7. Input<List<String>?>? includedQueryParameters,
})

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,
});