SpringBoot 整合 Shiro + Redis + Mybatis
1.CacheManager用来减轻DB的访问压力,从而提高系统的查询效率2. 如何开启缓存?2.1 在Realm中开启缓存 并设置缓存处理器authorizingRealm.setCachingEnabled(true); authorizingRealm.setAuthorizationCachingEnabled(true);authorizingRealm.setAuthorizationCachingEnabled(true);authorizingRealm.setCache
复制链接