Page 1 of 1

HTTP Cache Problem

Posted: Tue Jan 25, 2005 7:23 am
by vbatista
Hi!
We are developing a demo which uses several wav files. We are setting a cache time in some of those wav files, but your VXML Browser seems to be ignoring them. Each time we access one of those files, a request is made to our web server. We are adding the headers "Date" and "Expires". Below is an example:

Date: Tue, 25 Jan 2005 12:13:35 GMT
Expires: Tue, 25 Jan 2005 12:23:35 GMT

We tested access to one of this files with Firefox and IE and they are "respecting" our headers.....they only make the first request to the web server, as long as the Expires date hasn't been achieved!

Regards,
Victor Batista

caching feature of the Plum IVR operates like a proxy cache

Posted: Wed Jan 26, 2005 6:07 pm
by support
Hello,

The caching feature of the Plum IVR operates like a proxy cache. This is enabled by default for developers using Plum IVR Hosting. However, you must enable this feature for on-site Plum IVR systems or nothing will be cached. For more information on how to enable this please see the Operations Documentation that comes with your Plum IVR. If you are running the Plum IVR Evaluation sofware caching is not available, this is because caching requires disk space and the evaluation software runs off a bootable cd that is not designed to write to disk.

Hope This Helps!

Plum Support

Posted: Sat Feb 18, 2006 4:35 pm
by tcharron
I noticed many times, files are cached while other files are not. whenever the file retrieves a file via a GET, it seems to cache it locally.

Is there a way to clear out the cache that's being used by the hosted environment?

IVR follows standard proxy caching rules

Posted: Sat Feb 18, 2006 5:19 pm
by support
Hello,

The Plum IVR caching system follows standard proxy caching rules. To force the file to be refetched you should use the maxage attribute for that element. For an IVR example:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<form>
	<block>
		<prompt>
			<audio src="somefile.wav" maxage="0"/>
		</prompt>
	</block>
</form>
</vxml>
This will force somefile.wav to be refetched every time. You can also make use of the IVR global properties *maxage to set the attribute globally.

Regards,
Plum Support