I'm using the populate cache and lookup cache policies to store some data in the cache, however this data is an object.
I am very easily able to store simple string and variables in the cache, but when I try to store an object, or even a prefix variable like prefix.data, then it stores it empty.
object:
var data = { name: 'name', value: 'value' }
Is it not possible to store non-simple variables in cache? How does response cache work, does that need to store complex responses as well?
PS: Response times are important, as well as quick availability across all MPs. So if KVM can be used and has comparable response times, then I am willing to try that option too.