grammarmaxage
grammarmaxage
Default Value: NULL
Tells the platform the maximum acceptable age, in seconds, of cached grammars. Setting “grammarmaxage” to NULL allows the platform to honor expiration time set by the web server.
Example
Explanation
From this example, the “grammarmaxage” value is set to 150 seconds and the “grammarmaxstale” value is set to 25 seconds. This sets a global property that all grammar tags have a maxage value of 150 seconds and a maxstale value of 25 seconds. So, since the file “lastname.php” (remote grammar for the lastname built-in grammar type) is inside of a <grammar> tag, it would have a maxage value of 150 seconds and a maxstale value of 25 seconds because of the “grammarmaxage” and “grammarmaxstale” properties.
Notes
None
Last updated