Spring Boot缓存实战 Redis

Spring boot默认使用的是SimpleCacheConfiguration,即便用ConcurrentMapCacheManager来实现缓存。可是要切换到其余缓存实现也很简单。下面是使用redis来做为缓存:java pom文件 在pom中引入相应的jar包mysql <dependencies> <dependency> <groupId>org.springframework.
相关文章
相关标签/搜索