Javacaching - notbrain/Play20 GitHub Wiki

Caching

an in-memory cache with expiry support is provided by Play.

Note: By default, this implementation is used for Play's internal caching as well

The Java API with information about the usage can be found here

Plugging in your own

The following simple steps need to be taken if one would like to implement a different caching solution

  1. set cache.default=disabled in application.conf
  2. implement play.api.CacheAPI interface
  3. implement play.api.Plugin and enable your plugin
⚠️ **GitHub.com Fallback** ⚠️