Solved! Go to Solution.
esri.setRequestPreCallback(function (ioArgs) {
try {
if (ioArgs.url.indexOf("FeatureServer") > -1 &&
ioArgs.content.returnGeometry == true) {
ioArgs.preventCache = true;
}
return ioArgs;
} catch (e) {
console.log(e.toString());
return ioArgs;
}
});