code: func (process *TeleportProcess) newLocalCache(clt auth.ClientI, setupConfig cache.SetupConfigFn, cacheName []string) (auth.AccessPoint, error) {
  	// if caching is disabled, return access point
  	if !process.Config.CachePolicy.Enabled {
  		return clt, nil
  	}
  	cache, err := process.newAccessCache(accessCacheConfig{
  		services:  clt,
  		setup:     process.setupCachePolicy(setupConfig),
  		cacheName: cacheName,
  	})
  	if err != nil {
  		return nil, trace.Wrap(err)
  	}
  	return auth.NewWrapper(clt, cache), nil
  }
docs: // newAccessPointCache returns new instance of access point