deleteMatching(regex) {
    Object.keys(this._cachedRequests).forEach(requestId => {
      if (new RegExp(regex).test(requestId)) {
        this.delete(requestId);
      }
    });
  }
Delete all items from the cache that match given regex
@param {RegExp} regex a regular expression to match cache entries