Page 1 of 1

cache problem while using <audio>

Posted: Thu Jun 01, 2006 1:16 pm
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

IVR example to force cache reset using maxage attribute

Posted: Sun Jun 04, 2006 10:34 am
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