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 Serializabletrait Producttrait Equalstrait CacheControltrait Headerclass Objecttrait Matchableclass Any
Members list
In this article