static getCache(options) {
    return false === options.cache
      ? cache(false)
      : cache(options.cache || 'memory', options);
  }
Get cache instance.

@param {Object} options
@return {Object}
@api private