springboot/cloud cache 配置prefix

https://www.jianshu.com/p/be2c09cd27d8

#缓存的名称集合,多个采用逗号分割
spring.cache.cache-names=
#缓存的类型,官方提供了很多,这里我们填写redis
spring.cache.type=
#是否缓存null数据,默认是false
spring.cache.redis.cache-null-values=
#redis中缓存超时的时间,默认60000ms
spring.cache.redis.time-to-live=

#缓存数据key是否使用前缀,默认是true spring.cache.redis.use-key-prefix= #缓存数据key的前缀,在上面的配置为true时有效, spring.cache.redis.key-prefix=
原文地址:https://www.cnblogs.com/tekikesyo/p/15523528.html