Service Request Caching Parameters

The following table describes the parameters that you can use to configure the caching behavior of responses from form service and data services requests.

Parameter

Value

Description

allowCache

Boolean (true, false)

Enable or disable the caching of the service request response. If the "Enable Caching by Default" option is enabled in Server Manager, this parameter is ignored and all responses for Read operations will be cached.

forceUpdate

Boolean (true, false)

Force or do not force the system to fetch the data from the database for the service request. If the "Enable Caching by Default" setting is enabled in Server Manager, you can use this value to override the setting.

cacheTime

Integer (milliseconds)

Enter the amount of time in milliseconds for the service request to use the cache for the response. This setting overrides the value in the "Default Read Cache Time To Live" setting in Server Manager.

setDirtyOnly

Boolean (true,false)

If set to true, this parameter forces the next service request call (that does not contain this flag) to fetch data from the database. If you include this in the request, you will not get any data back. You will only receive a status message.