diff --git a/process/DataCaching_lib/process.js b/process/DataCaching_lib/process.js index f77ae2ba0c1bcf74d59cd668e147eb99fdf3a666..8410bd42ceceb6760b8bc9645dfe445f23467a8a 100644 --- a/process/DataCaching_lib/process.js +++ b/process/DataCaching_lib/process.js @@ -1,3 +1,4 @@ +import("system.logging"); import("system.vars"); import("system.project"); @@ -65,7 +66,7 @@ CachedData.prototype.load = function(pDataCallbackFunction) //currently it's not possible to cache the data within the serer-context, so instead the Data-function is called everytime if (this.runningOnServer) cachingEnabled = false; - else if (project.getInstanceConfigValue("custom.dataCaching.client.forceDisable") == true) + else if (JSON.parse(project.getInstanceConfigValue("custom.dataCaching.client.forceDisable")) == true) cachingEnabled = false; if (!cachingEnabled)