If I change something in my VXML file, the changes cannnot applied immediately on PlumVoice platform. It seems the old copy of my VXML file is cached by PlumVoice such that system will not fetch the new one from my web server.
So how can I do to close the cache?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
How to clear the VXML cache
Re: How to clear the VXML cache
Hi,
This is correct, VXML scripts get cached by the platform. There are two ways to avoid this caching.
1. Wrap the VXML in another programming language that does not get cached (a server-side language). We utilize PHP for this.2. You could also attempt to fetch your application via a Plum Scratchpad. The scratchpad should contain basic code to fetch your application.The property documentmaxage ensures that the platform will always fetch your script instead of utilizing the cached version.
Hope this helps!
Regards,
Plum Support
This is correct, VXML scripts get cached by the platform. There are two ways to avoid this caching.
1. Wrap the VXML in another programming language that does not get cached (a server-side language). We utilize PHP for this.
Code: Select all
<?php
header("Content-type: text/xml");
echo "<?xml version=\"1.0\"?>";
?>
<vxml version="2.0">
<form>
<block>
<prompt>
Any changes to the VXML will propagate immediately.
</prompt>
</block>
</form>
</vxml>
Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">
<property name="documentmaxage" value="0s"/>
<form>
<block>
<goto next="http://your.site.com/example.vxml"/>
</block>
</form>
</vxml>
Hope this helps!
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com