CacheControl
Represents a value for a Cache-Control
header
Parameters
visibility
specifies an optional visibility such as private or public
Constructors
Types
Link copied to clipboard
class MaxAge(val maxAgeSeconds: Int, val proxyMaxAgeSeconds: Int? = null, val mustRevalidate: Boolean = false, val proxyRevalidate: Boolean = false, val visibility: CacheControl.Visibility? = null) : CacheControl
Represents a cache control value with the specified max ages and re-validation strategies
Link copied to clipboard
Represents a no-cache cache control value
Link copied to clipboard
Represents a no-store cache control value
Link copied to clipboard
Controls caching by proxies