We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

cache problem while using <audio>

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
yunyun
Posts: 21
Joined: Mon Jan 23, 2006 8:31 pm

cache problem while using <audio>

Post by yunyun »

Hi,

I try using <audio src="test.wav">This is a test.</audio> to play back a wav file. The wav file is saved in the same directory as the vxml file. After I change the content of test.wav, I still hear the old wav file. I am wondering if there is any cache for the audio files and how I can retrieve the new file if it changes.

Thanks,

Yunyun

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR example to force cache reset using maxage attribute

Post by support »

Hello,

The best way to force a cache reset is to use the maxage attribute or IVR *maxage global properties. For IVR example:

Code: Select all

<audio src="test.wav" maxage="0"/>
This will tell our caching system to refresh the cache and get the latest copy. This attribute is available for all IVR tags that request data.

Regards,
Plum Support

Post Reply