public function withNoCache(): self
    {
        $clone = $this->withoutHeader('last-modified');

        foreach ($this->App->c::noCacheHeadersArray() as $_header => $_value) {
            $clone = $clone->withHeader($_header, $_value);
        } // unset($_header, $_value);

        return $clone; // Response.
    }
public function withNoCache(): self
    {
        $clone = $this->withoutHeader('last-modified');

        foreach ($this->App->c::noCacheHeadersArray() as $_header => $_value) {
            $clone = $clone->withHeader($_header, $_value);
        } // unset($_header, $_value);

        return $clone; // Response.
    }
public function withNoCache ( ) : self { $ clone = $ this -> withoutHeader ( 'last-modified' ) ; foreach ( $ this -> App -> c :: noCacheHeadersArray ( ) as $ _header => $ _value ) { $ clone = $ clone -> withHeader ( $ _header , $ _value ) ; } // unset($_header, $_value); return $ clone ; // Response. }
With no-cache headers.

@since 17xxxx Response utils.

@return Response w/ no-cache headers.
With no - cache headers .