src/main/php/response/Headers.php
public function cacheControl(): CacheControl
    {
        $cacheControl = new CacheControl();
        $this->add(CacheControl::HEADER_NAME, $cacheControl);
        return $cacheControl;
    }
public function cacheControl(): CacheControl
    {
        $cacheControl = new CacheControl();
        $this->add(CacheControl::HEADER_NAME, $cacheControl);
        return $cacheControl;
    }
public function cacheControl ( ) : CacheControl { $ cacheControl = new CacheControl ( ) ; $ this -> add ( CacheControl :: HEADER_NAME , $ cacheControl ) ; return $ cacheControl ; }
enables the Cache-Control header

If no specific directives are enabled the value will be
<code>Cache-Control: private</code>
by default.

@return  \stubbles\webapp\response\CacheControl
@see     http://tools.ietf.org/html/rfc7234#section-5.2
@since   5.1.0
enables the Cache - Control header