scala-redis
scala-redis copied to clipboard
Is it possible to use this as the default cache for PlayFramework 2.1?
Play 2.1 uses Ehcache by default. It seems that scala-redis acts as a standalone module and doesn't implement Play's default CacheAPI interface. Any idea how it might be done to use it seamlessly with Play?
It seems possible. I simply implemented Play's CacheAPI by wrapping this scala-redis with a serialization method. The repo is here.
You have this official plugin for play framework 2.5:
https://github.com/playframework/play-plugins/tree/master/redis