creece
04/03/2018, 4:56 PMjonny
04/03/2018, 5:11 PMcache.getCache({ name: 'testcache' })
.get({
key: 'testkey',
loader: function(value) {
return 'somevalue';
}
})
In the netsuite example it seems like they are loading a file from the file cabinet and searching for a specific value in the file. That seems like it defeats the purpose of the cache if you have to load the file cabinet file very time anyway.creece
04/03/2018, 5:12 PMcreece
04/03/2018, 5:12 PMcreece
04/03/2018, 5:13 PMjonny
04/03/2018, 5:21 PMcreece
04/03/2018, 5:21 PMcreece
04/03/2018, 5:22 PMjonny
04/03/2018, 5:23 PMCache.put(options)
method to populate the cache even when you have a loader on the .get(options)
method?creece
04/03/2018, 5:23 PMcreece
04/03/2018, 5:24 PMjonny
04/03/2018, 5:28 PMcreece
04/03/2018, 5:29 PM