Cache4S is a caching library in Scala based on Java caffeine library.
Scala 2.12 | Scala 2.13 | Scala 3.1 |
---|---|---|
✅ | ✅ | ✅ |
Add the latest release as a dependency to your project
SBT
libraryDependencies += "com.github.tharwaninitin" %% "cache4s" % "x.x.x"
Maven
<dependency>
<groupId>com.github.tharwaninitin</groupId>
<artifactId>cache4s_2.12</artifactId>
<version>x.x.x</version>
</dependency>