MaxAge

zio.http.Header$.CacheControl$.MaxAge
final case class MaxAge(freshForSeconds: Int) extends CacheControl

The max-age=N response directive indicates that the response remains fresh until N seconds after the response is generated.

The max-age=N request directive indicates that the client allows a stored response that is generated on the origin server within N seconds

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

override type Self = CacheControl

Attributes

Inherited from:
CacheControl

Value members

Inherited methods

Attributes

Inherited from:
Header

Attributes

Definition Classes
Inherited from:
CacheControl

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Header
override def self: Self

Attributes

Definition Classes
Inherited from:
CacheControl

Concrete fields

override val raw: String

Inherited fields

lazy val untyped: Custom

Attributes

Inherited from:
Header