play framework 2.0 support memcached?

2019-07-21 03:56发布

问题:

I read Play Framework 2.0 document,I don't any word about memcached.How can I use memcached in Play Framework 2.0? why disappear in 2.0, in 1.x ,it is so easy!!!

回答1:

As already pointed out in the comments, the default implementation of the Cache API uses Ehcache. If you want to use memcached, you coult write your own Cache implementation, or you could use this one.