spring @cache缓存注解 注意事项 转至 https://www.cnblogs.com/fashflying/p/6908028.html 注意事项 同一个类中的方法调用缓存不会生效(包括@cacheable @evicat等),调用父类方法也不可以使用缓存。key里面使用*通配符也是不生效的,需要指定具体key或者 allEntries = true