This version supports Play framework 2.6.x with JDK 8 and both Scala 2.11 and Scala 2.12.
For previous versions see older releases.
The play-redis
module for
Play framework 2 adds support of Redis cache
server and provides a set of handful APIs. For more details and
full documentation for the version 2.x.x
and newer please see the wiki.
For the documentation of older versions see README at corresponding tag in git history
of the module.
This project provides a set of examples showing the use of play-redis
modules.
-
Getting Started is a very basic example showing the minimal configuration required to use the redis cache
-
Named Caches is the advanced example with custom recovery policy and multiple named caches.
-
EhCache and Redis shows a combination of both caching provides used at once. While the EhCache is bound to unqualified APIs, the Redis cache uses named APIs.
For more details about these example please read the README within each project.
These samples are versioned along the play-redis with the same version number. To visit the samples for the particular version of play-redis please visit these samples at the same version.
play framework | play-redis |
---|---|
2.6.x | 2.0.1 (Migration Guide) |
2.5.x | 1.4.2 |
2.4.x | 1.0.0 |
2.3.x | 0.2.1 |
For the list of changes and migration guide please see the Changelog in the original module repository.
If you encounter any issue, have a feature request, or just like this library, please feel free to report it or contact me.