Skip to content

jmcardon/scalacache

 
 

Repository files navigation

ScalaCache

Join the chat at https://gitter.im/cb372/scalacache

Build Status Maven Central

A facade for the most popular cache implementations, with a simple, idiomatic Scala API.

Use ScalaCache to add caching to any Scala app with the minimum of fuss.

The following cache implementations are supported, and it's easy to plugin your own implementation:

  • Google Guava
  • Memcached
  • Ehcache
  • Redis
  • Caffeine

Compatibility

ScalaCache is available for Scala 2.11.x and 2.12.x.

The JVM must be Java 8 or newer.

Compiling the documentation

To make a change to the documentation:

  1. Make sure that memcached is running on localhost:11211
  2. Perform the desired changes
  3. Run sbt doc/makeMicrosite
for (cache <- List(catsCache, ehcacheCache, redisCache, customisedRedisCache, memcachedCache, customisedMemcachedCache)) {
  cache.close()(scalacache.modes.sync.mode)
} 

Packages

No packages published

Languages

  • Scala 100.0%