Skip to content
SPECIFICTION
Get listed

Caffeine vs Google Guava Cache

Caffeine

github.com

Google Guava Cache

github.com

Side by side

FigureCaffeineGoogle Guava Cache
Price fromFree—
Free planYes—
Free trial——
Open source——
Windows—Yes
Linux—Yes
Android—Yes
Self-hostedYes—
Plans published10
Spec score · Caching Software8.2 (#5)5.8 (#23)

Plans

Caffeine

  • CaffeineFree

Caffeine pricing →

Google Guava Cache

No plans published.

Google Guava Cache pricing →

In their own words

Caffeine

Caffeine is a free, open-source in-memory caching library for Java, distributed under the Apache License, Version 2.0. It provides an API inspired by Google Guava and can load entries automatically, including asynchronously. Size-based eviction uses configured limits with frequency and recency, while entries can expire according to time since their last access or write. When a stale entry is first requested, Caffeine can refresh it asynchronously. Other functions include weak keys, weak or soft values, removal notifications, writes to external resources, and cache statistics. The project offers JSR-107 JCache, Guava adapters, and a simulation extension, with community integrations listed for Spring Cache, Play Framework, Micronaut, Quarkus, and Apache Camel. The project directs users to Maven Central and provides Gradle coordinates for the core library and optional extensions. Version 3.x is intended for Java 11 or newer; earlier Java versions use 2.x. Maven Central artifacts are accompanied by GPG and Sigstore signature files according to the security policy.

Visit github.com

Google Guava Cache

Google Guava Cache has no write-up on Specifiction yet; its figures are above.

Visit github.com