> For the complete documentation index, see [llms.txt](https://docs.plumvoice.com/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plumvoice.com/dev/voicexml/properties/scriptmaxstale.md).

# scriptmaxstale

## scriptmaxstale <a href="#scriptmaxstale" id="scriptmaxstale"></a>

**Default Value:** 0 seconds

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

### Example

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