我希望在heroku上托管我的Play 2.2.2应用程序的共享缓存。
我在mem文件中添加了memcachier插件:
memcached=enabled
memcached.host=${MEMCACHE_SERVERS}
memcached.user=${MEMCACHE_USERNAME}
memcached.password=${MEMCACHE_PASSWORD}
但缓存永远不会被击中。它是否应该?
答案 0 :(得分:0)
我错过了播放插件:在 build.sbt
中libraryDependencies ++= Seq(
jdbc, javaCore, javaJdbc, javaEbean, anorm, filters,
"ws.securesocial" %% "securesocial" % "2.1.3",
"com.github.mumoshu" %% "play2-memcached" % "0.3.0.2"
)
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
"Spy Repository" at "http://files.couchbase.com/maven2"
)