Hi,
I am not able to read cache value in node.js
mycache is a response cache
var cache = apigee.getCache('mycache', {
resource: 'mycache',
scope: 'global'
});
cache.get('cache-key', function(err, data) {
console.log("data "+data);// not able to read
});
cache.remove('cache-key'); // able to delete
But i am able to remove the cache
Thanks
The node.js cache facility works with object cache and not response cache.
How do we differentiate between Response Cache and Object Cache?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |