CacheControl

sealed class 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

Represents a cache control value with the specified max ages and re-validation strategies

Link copied to clipboard
class NoCache(visibility: CacheControl.Visibility?) : CacheControl

Represents a no-cache cache control value

Link copied to clipboard
class NoStore(visibility: CacheControl.Visibility?) : CacheControl

Represents a no-store cache control value

Link copied to clipboard
enum Visibility : Enum<CacheControl.Visibility>

Controls caching by proxies

Properties

Link copied to clipboard
val visibility: CacheControl.Visibility?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard