CacheControl
Represents a value for a Cache-Control
header
Parameters
visibility
specifies an optional visibility such as private or public
Types
Link copied to clipboard
class MaxAge(maxAgeSeconds: Int, proxyMaxAgeSeconds: Int?, mustRevalidate: Boolean, proxyRevalidate: Boolean, visibility: CacheControl.Visibility?) : CacheControl
Content copied to clipboard
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