# documentmaxstale

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

**Default Value:** 0 seconds

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

### Example

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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/properties/documentmaxstale.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
