RulesetRuleActionParametersEdgeTtlStatusCodeTtl

data class RulesetRuleActionParametersEdgeTtlStatusCodeTtl(val statusCode: Int? = null, val statusCodeRange: RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange? = null, val value: Int)

Constructors

constructor(statusCode: Int? = null, statusCodeRange: RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange? = null, value: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val statusCode: Int? = null

Set the ttl for responses with this specific status code

Link copied to clipboard

The range of status codes used to apply the selected mode.

Link copied to clipboard
val value: Int

Time to cache a response (in seconds). A value of 0 is equivalent to setting the Cache-Control header with the value "no-cache". A value of -1 is equivalent to setting Cache-Control header with the value of "no-store".