Marks the response as "public".
It makes the response eligible for serving other clients.
@api
public function setPublic() {
$this->headers
->addCacheControlDirective('public');
$this->headers
->removeCacheControlDirective('private');
return $this;
}