Open puneetar opened 9 years ago
Hey,
How can I cache the play Result.Status object in memcache. Currently when I try to do that, it gives me a NotSerializable Exception, as Result.Status does not implement Serializable.
Is there a way i can achieve this with this plugin ?
You have to use SerializableResult, see here: https://github.com/playframework/playframework/blob/2.6.1/framework/src/play-cache/src/main/scala/play/api/cache/Cached.scala#L189
SerializableResult
Hey,
How can I cache the play Result.Status object in memcache. Currently when I try to do that, it gives me a NotSerializable Exception, as Result.Status does not implement Serializable.
Is there a way i can achieve this with this plugin ?