In a Spring Boot application, the _____ annotation allows the conditional caching of method return values based on the evaluation of a SpEL expression.

  • @CacheConfig
  • @CacheEvict
  • @Cacheable
  • @Caching
In a Spring Boot application, the @Cacheable annotation is used to enable conditional caching of method return values based on the evaluation of a SpEL (Spring Expression Language) expression. By using this annotation, you can specify when a method's result should be cached, which is helpful for optimizing performance in certain scenarios.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *