Skip to content
saeta edited this page Feb 10, 2012 · 17 revisions

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 Scala 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 ehcacheplugin=disabled in application.conf
  2. implement play.api.CacheAPI interface
  3. implement play.api.Plugin

Clone this wiki locally