src/Service/Keeper.php
public function getResponse($params = [], $lifetime = -1, Response $response = null)
    {
        if (!$response) {
            $response = new Response();
        }

        if (!$this->enable) {
            return $response;
        }

        return $this->configurator->configure($response, $this->getMax($params), $lifetime);
    }
public function getResponse($params = [], $lifetime = -1, Response $response = null)
    {
        if (!$response) {
            $response = new Response();
        }

        if (!$this->enable) {
            return $response;
        }

        return $this->configurator->configure($response, $this->getMax($params), $lifetime);
    }
Get cache response.

Set $lifetime as < 0 for not set max-age

@param mixed $params
@param int $lifetime
@param Response|null $response

@return Response