src/Middleware/Utility.php
public static function privateNoExpireCache(
        ResponseInterface $response,
        /*# int */ $cacheTime = 120
    )/*# : ResponseInterface */ {
        $maxAge = $cacheTime * 60;
        return $response
            ->withAddedHeader('Cache-Control', "private, max-age={$maxAge}, pre-check={$maxAge}")
            ->withAddedHeader('Last-Modified', self::timeStamp());
    }
public static function privateNoExpireCache(
        ResponseInterface $response,
        /*# int */ $cacheTime = 120
    )/*# : ResponseInterface */ {
        $maxAge = $cacheTime * 60;
        return $response
            ->withAddedHeader('Cache-Control', "private, max-age={$maxAge}, pre-check={$maxAge}")
            ->withAddedHeader('Last-Modified', self::timeStamp());
    }
public static function privateNoExpireCache ( ResponseInterface $ response , /*# int */ $ cacheTime = 120 ) /*# : ResponseInterface */ { $ maxAge = $ cacheTime * 60 ; return $ response -> withAddedHeader ( 'Cache-Control' , "private, max-age={$maxAge}, pre-check={$maxAge}" ) -> withAddedHeader ( 'Last-Modified' , self :: timeStamp ( ) ) ; }
Set private_no_expire cache header

@param  ResponseInterface $response
@param  int $cacheTime cache time in minutes
@return ResponseInterface
@access public
Set private_no_expire cache header