> 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/documentmaxage.md).

# documentmaxage

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

**Default Value:** NULL

Tells the platform the maximum acceptable age, in seconds, of cached documents. Setting “documentmaxage” to NULL allows the platform to honor expiration time set by the web server.

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