code: func (process *TeleportProcess) setupCachePolicy(in cache.SetupConfigFn) cache.SetupConfigFn {
  	return func(c cache.Config) cache.Config {
  		config := in(c)
  		config.PreferRecent = cache.PreferRecent{
  			Enabled:      process.Config.CachePolicy.Enabled,
  			NeverExpires: process.Config.CachePolicy.NeverExpires,
  			MaxTTL:       process.Config.CachePolicy.TTL,
  		}
  		return config
  	}
  }
docs: // setupCachePolicy sets up cache policy based on teleport configuration,
  // it is a wrapper function, that sets up configuration