ehcache2.10+spring4 整合要注意的问题
ehcache+spring 整合出现的问题
配置ehcache.xml时注意,这个地方之前参考其他博文,有个坑。。timeToIdleSeconds、timeToLiveSeconds这两个属性要注意一下,反正我是被坑惨了,一些博文的配置为timeToIdleSeconds=5,timeToLiveSeconds=5,测试的时候每次都有缓存,结果每次都会重新查询,一直没发现问题所在,偶然之下看
原创
2017-07-10 18:39:40 ·
1168 阅读 ·
0 评论