cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
484
Views
0
Helpful
2
Replies

how to auto delete the cache of the voice browser.

xiaosen weng
Level 1
Level 1

My environment is cisco C3945E and CVP 11.5,and I use "Subdialog Invoke" element in the call studio to invoke the external vxml file(for example simple24.vxml ),and the vxml file can work, but if i only changed the simple24.vxml file, i found that c3945E voice browser still use the old simple24.vxml, not the new simple24.vxml. it seems that there is a vxml cache in the voice browser.

which ios command i can used to auto delete the cache of  the voice browser?11.png

2 Replies 2

ptindall
Cisco Employee
Cisco Employee

2 things you can do.

1 Use "set http client cache stale" to force refresh attempts on caches items

2  Stop caching your VoiceXML --- add &nocache onto the URL.   In fact add any parameter string whatsoever.

Gerry O'Rourke
Spotlight
Spotlight

Another option to add to Paul's above is to set an expire header on the web server hosting your VXML.

So for example if hosted on IIS,

Select "Set Common HTTP Response Headers"

Check "Expire Web content"

Select Immediately or select After 1 min or whatever suits etc

The VXML Browser will do a HTTP get request with a If Modifed Since.

Is the content has not changed - it won;t need to download it.

If it has a later modified date that what is in the cache it will download the updated vxml.

Same goes for when hosting WAV files!

I set 10 mins for wav files. Note its still efficient - as it does not redownload if wav file has not changed.

It only "checks" for a new file every 10 mins.

Gerry