Plum DEV Documentation
voicexml:properties:scriptmaxstale

Differences

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

Link to this comparison view

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