SMaxAge

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

The s-maxage response directive also indicates how long the response is fresh for (similar to max-age) — but it is specific to shared caches, and they will ignore max-age when it is present.

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