source: Dev/branches/play-2.0.1/documentation/manual/sandbox/Javacaching.md @ 322

Last change on this file since 322 was 322, checked in by hendrikvanantwerpen, 13 years ago

Added Play! framework and application with Jena dependency. Working on
the basic things now (login/register), after that start implementing
our data model.

File size: 625 bytes
Line 
1# Caching
2
3an in-memory cache with expiry support is provided by Play.
4
5_Note: By default, this implementation is used for Play's internal caching as well_
6
7The Java API with information about the usage can be found [here](https://github.com/playframework/Play20/blob/master/framework/play/src/main/java/play/cache/Cache.java )
8
9# Plugging in your own
10The following simple steps need to be taken if one would like to implement a different caching solution
11
121. set ```cache.default=disabled``` in ```application.conf```
132. implement ```play.api.CacheAPI``` interface
143. implement ```play.api.Plugin``` and enable your plugin
Note: See TracBrowser for help on using the repository browser.