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.