Comment on page
datamaxstale
Default Value: 0 seconds
Tells the platform the maximum acceptable staleness, in seconds, of expired cached data documents.
data.vxml
datatag.xml
<?xml version="1.0"?>
<vxml version="2.0">
<property name="datamaxage" value="150s"/>
<property name="datamaxstale" value="25s"/>
<form>
<data name="domstuff" src="datatag.xml"/>
<block>
Hello <value expr="domstuff.documentElement.firstChild.toString()"/>.
</block>
</form>
</vxml>
<?xml version="1.0"?>
<tagname>
World
</tagname>
From this example, the “datamaxage” value is set to 150 seconds and the “datamaxstale” value is set to 25 seconds. This sets a global property that all data documents referenced within the application have a maxage value of 150 seconds and a maxstale value of 25 seconds. So, since the file “datatag.xml” is inside of a tag, it would have a maxage value of 150 seconds and a maxstale value of 25 seconds because of the “datamaxage” and “datamaxstale” properties.
None
Last modified 3yr ago