# Copyright (C) Lightbend Inc. <https://www.lightbend.com>

play {

  modules {
    enabled += "play.api.cache.ehcache.EhCacheModule"
  }

  cache {
    # The name of the xml resource that should be used to configure the cache
    configResource = "ehcache.xml"
    # The caches to bind
    bindCaches = []
    # Whether play should try to create the caches listed in bindCaches
    # If false, the caches should be specified in the ehcache.xml configuration.
    createBoundCaches = true
    # The name of the default cache to use in ehcache
    defaultCache = "play"
    # The dispatcher used for get, set, remove,...  operations on the cache. By default Play's default dispatcher is used.
    dispatcher = null
  }

}
