Data Cache Interval

The time that a cache will be stored, measured in minutes.  Caches stored to memory or session can only be stored for a maximum of 1 day, while caches of a file type can be stored for as long as necessary.

When the Business Data Cache Adapter is called, it checks to see if the age of the data being held in cache is within the “Data Cache Interval” value.  If so, the Business Data Cache Adapter responds with the cached data. If the age of the data is beyond the “Data Cache Interval” value, the Cache Adapter will query the URL to XML, return the latest version of the data to the calling component and then store the retrieved data, thus resetting the age of the data for the cache.

This is important to note as the Business Data Cache Adapter does not attach any event handlers to the data.  As a result, the Business Data Cache Adapter does not “automatically” refresh when the data changes.  It only refreshes data when outside the Data Cache Interval value.