In Spring Boot, which annotation is typically used to enable caching in an application?

  • @EnableCaching
  • @CacheControl
  • @Cacheable
  • @Caching
In Spring Boot, the @EnableCaching annotation is typically used to enable caching in an application. It allows you to activate the caching functionality for your Spring Boot application. The other options are not used for enabling caching but rather for specifying caching behavior or configuring cache entries.
Add your answer
Loading...

Leave a comment

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