22
loading...
This website collects cookies to deliver better user experience
spring-boot-starter-cache
to your dependencies.build.gradle
file:implementation "org.springframework.boot:spring-boot-starter-cache:2.5.0"
pom.xml
file:<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
<version>2.5.0</version>
</dependency>
spring-boot-starter-cache
brings the spring-context-support
module, which transitively depends on spring-context
. The latter allows Spring to deal with contexts, also called Spring IoC (Inversion of Control) containers, which are responsible for managing objects in a Spring application. In particular, they are in charge of configuring, instantiating, and assembling Beans by reading configuration files and employing annotations. While the spring-context-support
module provides support for integrating third-party cache engines, which will be presented later, into a Spring application.22