MaxAge

zio.http.model.headers.values.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
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

override val raw: String