cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3642
Views
5
Helpful
3
Replies

CVP VXML CACHE Settings / refresh issue

thanvi2001
Level 1
Level 1

how to set audio refresh in the gateway , currently it is set as 1 sec but not refreshing immediately  , needs to do stale command to take effect after copying the media files every time...

I want the cache to be refreshed and new media file should play immediately with out forcing an audio to refresh. This issue for both CVP /Micro applications..

 

Application server -IIS 8

IOS ver 15.5.

Call /VXML /Media server is same box 

Gateway settings

 

http client cache memory pool 100000
http client cache memory file 10000

http client cache refresh 1    (changed to 1 sec by default it was  86400 sec ie 24 hours)
http client connection timeout 60
http client connection idle timeout 10
http client response timeout 30
ivr prompt memory 20000
ivr prompt streamed all

 

 

Thanks,

Thanveer

2 Accepted Solutions

Accepted Solutions

Slavik Bialik
Level 7
Level 7

Hi the reason this CLI command you're trying to do isn't taking effect is because it won't take effect when one of the following headers will exist while initially downloading the media files from the IIS server:

  1. Cache-Control: max-age = <value in seconds>
  2. Expires: <expiration date time>
  3. Last-Modified: <last-modified date time>  &  Date: <Current date time>

And I bet the your IIS is serving the media files with one of the above, almost 100% sure.

What you can do, is actually go to your IIS configuration manager, go to the relevant folder that you want to serve with a minimum refresh time, then select HTTP Response Headers in the center, then in the Actions panel (the right panel), click on Set Common Headers and then you can configure it like that:IIS-Headers.png

 

 

 

Well, I wouldn't recommend doing that, because you're loosing the caching ability. And your VXML gateway will have to re-download for every new request the files all over again.

At least do not configure it every 1 second, at least 5-10 minutes. But this is your choice ;)

View solution in original post

Good post, Slavik.

 

Regards,

Geoff

View solution in original post

3 Replies 3

Slavik Bialik
Level 7
Level 7

Hi the reason this CLI command you're trying to do isn't taking effect is because it won't take effect when one of the following headers will exist while initially downloading the media files from the IIS server:

  1. Cache-Control: max-age = <value in seconds>
  2. Expires: <expiration date time>
  3. Last-Modified: <last-modified date time>  &  Date: <Current date time>

And I bet the your IIS is serving the media files with one of the above, almost 100% sure.

What you can do, is actually go to your IIS configuration manager, go to the relevant folder that you want to serve with a minimum refresh time, then select HTTP Response Headers in the center, then in the Actions panel (the right panel), click on Set Common Headers and then you can configure it like that:IIS-Headers.png

 

 

 

Well, I wouldn't recommend doing that, because you're loosing the caching ability. And your VXML gateway will have to re-download for every new request the files all over again.

At least do not configure it every 1 second, at least 5-10 minutes. But this is your choice ;)

Good post, Slavik.

 

Regards,

Geoff

Thanks Slavik.. its working..
It's only for Non Production environment so loosing caching ability is not an issue...