Sets the number of seconds after which the response should no longer be considered fresh.
This methods sets the Cache-Control max-age directive.
@api
integer $value Number of seconds:
public function setMaxAge($value) {
$this->headers
->addCacheControlDirective('max-age', $value);
return $this;
}