Why did Spring framework deprecate the use of Guava cache?

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

Leave a Comment