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