GetHyperdriveConfigCaching

data class GetHyperdriveConfigCaching(val disabled: Boolean, val maxAge: Int, val staleWhileRevalidate: Int)

Constructors

Link copied to clipboard
constructor(disabled: Boolean, maxAge: Int, staleWhileRevalidate: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When set to true, disables the caching of SQL responses. (Default: false)

Link copied to clipboard
val maxAge: Int

When present, specifies max duration for which items should persist in the cache. Not returned if set to default. (Default: 60)

Link copied to clipboard

When present, indicates the number of seconds cache may serve the response after it becomes stale. Not returned if set to default. (Default: 15)