scriptmaxstale

scriptmaxstale

Default Value: 0 seconds

Tells the platform the maximum acceptable staleness, in seconds, of expired cached scripts.

Example

<?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>

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

Last updated