Top "Spring-cache" questions

Spring cache provides a Cache and CacheManager abstraction with several implementations including support for ehcache and JSR-107 providers.

Spring cache logging on @Cacheable hit

Currently I am working with a Spring Cache and the @Cacheable/@CacheEvict annotations. I would like to get some sort …

java spring slf4j spring-cache
How to cache REST API response in java

I am building an app in java.I hit api more than 15000 times in loop and get the response ( response …

spring rest caching rest-client spring-cache
Spring Cache with collection of items/entities

I am using Spring Cache, where I pass in a collection of keys, and the return is a list of …

java spring spring-cache
Generating unique cache key with Spring KeyGenerator not working

I'm having the issue when my cache keys are colliding in Spring using the @Cacheable annotation. For instance, with the …

java spring caching spring-cache
Default Cache Manager with Spring Boot using @EnableCaching

I have implemented caching in my SpringBootApplication as shown below @SpringBootApplication @EnableCaching public class SampleApplication extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder …

caching spring-boot spring-cache
How update/remove an item already cached within a collection of items

I am working with Spring and EhCache I have the following method @Override @Cacheable(value="products", key="#root.target.PRODUCTS") …

spring caching ehcache spring-3 spring-cache
Spring Cache - Create custom CacheManager

I'm using Spring Boot and EhCache to develop a calendar application. I'm trying to cache the following method: @Override @Cacheable(…

java spring-boot ehcache spring-cache
Schedule Spring cache eviction?

Is it possible to schedule spring cache eviction to everyday at midnight? I've read Springs Cache Docs and found nothing …

java spring spring-cache
Spring cache all elements in list separately

I'm trying to add caching to a CRUD app, I started doing something like this: @Cacheable("users") List<User&…

java spring spring-boot caching spring-cache
What are the best Cache practices in ehcache or spring cache for spring MVC?

Planning to implement cache mechanism for static data in spring web based application, can any one explain which is the …

java spring spring-mvc ehcache spring-cache