MongoDB-based Cache for Play 1.2.x and Play-Scala

In case anyone needs this: https://gist.github.com/1377952

You’ve got to bootstrap it in some bootstrap job like so:


 ScalaCacheAccessor.set(new MongoCacheImpl)

It’s only tested with the Press module so far (shared state is evil anyway 😉 )


Liked this post? Subscribe to the mailing list to get regular updates on similar topics.