Spring Cloud LoadBalancer is currently working with the default cache. While this cache implementation is useful for development and tests, it's recommended to use Caffeine cache in production.You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.
时间: 2024-04-19 22:28:25 浏览: 350
spring_cache
5星 · 资源好评率100%
Spring Cloud LoadBalancer当前使用的是默认缓存。虽然这种缓存实现对于开发和测试很有用,但建议在生产环境中使用Caffeine缓存。您可以通过将Caffeine缓存和org.springframework.cache.caffeine.caffeinecachemanager添加到类路径中来切换使用Caffeine缓存。
阅读全文