get(requestId, { maxAge = Infinity, maxResponseSize = Infinity } = {}) {
    const isNumber = (/** @type any */ num) => Number(num) === num;

    const cachedRequest = this._cachedRequests[requestId];
    if (!cachedRequest) {
      return undefined;
    }

    // maxAge and maxResponseSize should both be numbers
    if (!isNumber(maxAge)) {
      return undefined;
    }

    if (!isNumber(maxResponseSize)) {
      return undefined;
    }

    if (Date.now() >= cachedRequest.createdAt + maxAge) {
      return undefined;
    }

    if (cachedRequest.size > maxResponseSize) {
      return undefined;
    }

    return cachedRequest.response;
  }
Retrieve an item from the cache
@param {string} requestId key by which the cache is stored
@param {object} options
@param {number} [options.maxAge] maximum age of a cached request to serve from cache, in milliseconds
@param {number} [options.maxResponseSize] maximum size of a cached request to serve from cache, in bytes
@returns {CacheResponse | undefined}