clientTtl

@JvmName(name = "qjqrpqxlblixtqbd")
suspend fun clientTtl(value: Output<String>)
@JvmName(name = "eyqnqecnqpsrvhdx")
suspend fun clientTtl(value: String?)

Parameters

value

Specifies a separate client (e.g. browser client) TTL, separate from the TTL used by the edge caches. Leaving this empty will use the same cache TTL for both the CDN and the client-facing response.

  • The TTL must be 0 and <= 86400s (1 day)

  • The clientTtl cannot be larger than the defaultTtl (if set)

  • Fractions of a second are not allowed. Omit this field to use the defaultTtl, or the max-age set by the origin, as the client-facing TTL. When the cache mode is set to "USE_ORIGIN_HEADERS" or "BYPASS_CACHE", you must omit this field. A duration in seconds terminated by 's'. Example: "3s".