Javacaching - opensas/Play20Es GitHub Wiki

Caching

Esta página todavía no ha sido traducida al castellano. Puedes ayudarnos con la tarea simplemente presionando el botón Edit Page. Para más información puedes leer esta guía para el traductor. Aquí puedes ver cuánto nos falta para terminar la traducción.

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** ⚠️