diff --git a/README.md b/README.md index 2bb478f..0634140 100644 --- a/README.md +++ b/README.md @@ -1 +1,26 @@ -sass-common-lib:公共项目库 +## sass-common-lib:公共项目库 + +### v 1.2.0版本更新记录 +- 利用redis和ehcache增加了缓存支持,redis为L2级缓存,ehcache为L1级cache; +> application.yml基本配置如下: +```json +#开启ehcache和redis两级缓存 +springext: + cache: + enable: true + cacheL1: + enable: true + topic: cache #同步L1缓存的topic + key: "keys" +``` +```json +#redis配置 +spring: + redis: + database: 10 + host: 192.168.2.252 + port: 6379 +# password: zhnf@123 + pool: + max-wait: 1 +```