diff --git a/spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java b/spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java index e1d2700a4c4c..85965cbffa0a 100644 --- a/spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java +++ b/spring-context/src/main/java/org/springframework/cache/annotation/Cacheable.java @@ -123,7 +123,8 @@ /** * Spring Expression Language (SpEL) expression used for making the method - * caching conditional. + * caching conditional. If condition is evaluated to {@code true}, result + * is cached. *

Default is {@code ""}, meaning the method result is always cached. *

The SpEL expression evaluates against a dedicated context that provides the * following meta-data: