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 | |
---|
3 | an 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 | |
---|
7 | The 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 |
---|
10 | The following simple steps need to be taken if one would like to implement a different caching solution |
---|
11 | |
---|
12 | 1. set ```cache.default=disabled``` in ```application.conf``` |
---|
13 | 2. implement ```play.api.CacheAPI``` interface |
---|
14 | 3. implement ```play.api.Plugin``` and enable your plugin |
---|
Note: See
TracBrowser
for help on using the repository browser.