Try this exercise. Fill in the missing part by typing it in.
In Spring Boot, caching can be implemented using the @Cacheable
annotation. By annotating a method with @Cacheable
, the result of the method will be cached and future invocations of the method with the same arguments will return the cached result instead of executing the method again. This can greatly improve the performance of frequently accessed methods. To configure the cache, you can use the @EnableCaching
annotation in your application's configuration class. The most commonly used caching mechanism in Spring Boot is ___ caching.
Write the missing line below.