Plum DEV Documentation
voicexml:properties:documentmaxstale

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

voicexml:properties:documentmaxstale [2014/06/02 14:27]
jennifer added meta description
voicexml:properties:documentmaxstale [2019/09/17 12:29]
Line 1: Line 1:
-{{description>​documentmaxstale VoiceXML property details | documentmaxstale tells the vxml platform the maximum acceptable staleness of expired cached documents.}} 
-=====documentmaxstale===== 
- 
-**Default Value:** 0 seconds 
- 
-Tells the platform the maximum acceptable staleness, in seconds, of expired cached documents. 
- 
-====Example==== 
-<​code>​ 
-<?xml version="​1.0"?>​ 
-<vxml version="​2.0">​ 
- 
-  <​property name="​documentmaxage"​ value="​150s"/>​ 
-  <​property name="​documentmaxstale"​ value="​25s"/>​ 
-  <​form>​ 
-    <​block>​ 
-      <goto next="​myfile.vxml"/>​ 
-    </​block>​ 
-  </​form>​ 
-</​vxml>​ 
-</​code>​ 
- 
-====Explanation==== 
- 
-From this example, the "​documentmaxage"​ value is set to 150 seconds and the "​documentmaxstale"​ value is set to 25 seconds. This sets a global property that all document tags (<​goto>,​ <​submit>,​ etc.) have a maxage value of 150 seconds and a maxstale value of 25 seconds. So, since the file "​myfile.vxml"​ is inside of a tag, it would have a maxage value of 150 seconds and a maxstale value of 25 seconds because of the "​documentmaxage"​ and "​documentmaxstale"​ properties. 
- 
-====Notes==== 
- 
-None 
-