Patryk1
Patryk1

Reputation: 23

What is the timeout for items getting removed from cache when using org.springframework.cache.annotation.Cacheable

Im using a @Cacheable annotation for caching data from my GET Request. Im just wondering what is the default timeout for items getting removed from the cache. I cant really find anything to say what it is.

Upvotes: 0

Views: 573

Answers (1)

Chaitanya
Chaitanya

Reputation: 3638

The timeout for items getting removed from cache when using org.springframework.cache.annotation.Cacheable is defined by the Cache Manager.

You can refer to this article

Upvotes: 2

Related Questions