ScalaCache - 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 also used for Play’s internal caching.

You can find usage instructions in the play.api.cache.Cache API documentation.

Plugging in your own

To implement a different caching solution, use the following steps.

  1. In application.conf, set ehcacheplugin=disabled.
  2. Implement the play.api.CacheAPI interface.
  3. Implement play.api.Plugin.

Next: Calling WebServices

⚠️ **GitHub.com Fallback** ⚠️