resetCacheSession = cacheId => {
  if (!cacheId) {
    throw new Error('Invalid cache identifier');
  }
  if (!isCurrentSessionId(cacheId)) {
    setCacheSessionId(cacheId);
    ajaxCache.reset();
    pendingRequestStore.reset();
  }
}
Resets the cache session when the cacheId changes.

There can be only 1 active session at all times.
@param {string} cacheId The cache id that is tied to the current session