Details
Description
Cacheable(condition) is evaluated twice for every invocation on the proxied object. For a failing test see https://github.com/ggeorgovassilis/spring-cache-double-condition-evaluation/tree/master
This is a potential performance bottleneck as conditions may delegate to objects which query a database or perform costly cryptographic operations.