I want to use spring-cache with guava cache, but I find guava cache has been marked deprecated by spring official document.I wonder to know why, they didn't give some explanations.
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-caching.html#boot-features-caching-provider-guava
Spring project decided to endorse a switch to Caffeine cache.
Caffeine supersedes the caching support in the Google Guava library with an actively maintained Java 8+ version in standalone form.
You can find the relevant issue with the decision on Spring's tracker here: https://jira.spring.io/browse/SPR-13797
The relevant commit in spring framework github repo is: https://github.com/spring-projects/spring-framework/commit/2bf9bc312ed1721b5978f88861c29cffc9ea407c
1.4m articles
1.4m replys
5 comments
57.0k users