URLMapPathMatcherDefaultRouteActionCachePolicy constructor
- Input<
List< ? cacheBypassRequestHeaderNames,String> ?> - Input<
URLMapPathMatcherDefaultRouteActionCachePolicyCacheKeyPolicy?> ? cacheKeyPolicy, - Input<
String?> ? cacheMode, - Input<
URLMapPathMatcherDefaultRouteActionCachePolicyClientTtl?> ? clientTtl, - Input<
URLMapPathMatcherDefaultRouteActionCachePolicyDefaultTtl?> ? defaultTtl, - Input<
URLMapPathMatcherDefaultRouteActionCachePolicyMaxTtl?> ? maxTtl, - Input<
bool?> ? negativeCaching, - Input<
List< ? negativeCachingPolicies,URLMapPathMatcherDefaultRouteActionCachePolicyNegativeCachingPolicy> ?> - Input<
bool?> ? requestCoalescing, - Input<
URLMapPathMatcherDefaultRouteActionCachePolicyServeWhileStale?> ? serveWhileStale,
Creates a new URLMapPathMatcherDefaultRouteActionCachePolicy.
cacheBypassRequestHeaderNames Bypass the cache when the specified request headers are matched by name,
cacheKeyPolicy The cache key configuration. If not specified, the default behavior depends
cacheMode Specifies the cache setting for all responses from this route. If not
clientTtl Specifies a separate client (e.g. browser client) maximum TTL for cached
defaultTtl Specifies the default TTL for cached content for responses that do not have
maxTtl Specifies the maximum allowed TTL for cached content. Cache directives that
negativeCaching Negative caching allows per-status code TTLs to be set, in order to apply
negativeCachingPolicies Sets a cache TTL for the specified HTTP status code. negativeCaching
requestCoalescing If true then Cloud CDN will combine multiple concurrent cache fill
serveWhileStale Serve existing content from the cache (if available) when revalidating
Implementation
const URLMapPathMatcherDefaultRouteActionCachePolicy({
this.cacheBypassRequestHeaderNames,
this.cacheKeyPolicy,
this.cacheMode,
this.clientTtl,
this.defaultTtl,
this.maxTtl,
this.negativeCaching,
this.negativeCachingPolicies,
this.requestCoalescing,
this.serveWhileStale,
});