CacheControl
sealed class CacheControl
Represents a value for a Cache-Control
header
Parameters
visibility
- specifies an optional visibility such as private or public
Types
class MaxAge : CacheControl Represents a cache control value with the specified max ages and re-validation strategies |
|
class NoCache : CacheControl Represents a no-cache cache control value |
|
class NoStore : CacheControl Represents a no-store cache control value |
|
enum class Visibility Controls caching by proxies |
Properties
val visibility: Visibility? specifies an optional visibility such as private or public |
Inheritors
class MaxAge : CacheControl Represents a cache control value with the specified max ages and re-validation strategies |
|
class NoCache : CacheControl Represents a no-cache cache control value |
|
class NoStore : CacheControl Represents a no-store cache control value |