In Spring Boot, _____ is used to enable caching capability in the application.

  • @CacheConfig
  • @Cacheable
  • @EnableCaching
  • @Caching
In Spring Boot, the @EnableCaching annotation is used to enable caching capability in the application. It allows you to use caching annotations like @Cacheable and @CacheEvict to control caching behavior. The other options are related to caching but not used for enabling caching at the application level.
Add your answer
Loading...

Leave a comment

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