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

Problem with Audio Caching

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
dbachhawat
Posts: 4
Joined: Tue Mar 16, 2010 6:48 pm

Problem with Audio Caching

Post by dbachhawat »

Hi Plum Support, in response to a post I made last night you suggested caching to solve our audio delay problem. We tried caching but are having some problems.

We've set the cache headers to expire in 1000 secs; however plum still reports cache misses from our server.

Here are the headers we're sending back for each file - let me know if I missed a parameter.

bash: curl -I http://71.249.189.128:8000/wav/audio_1.wav

HTTP/1.1 200 OK
Content-Length: 0
Content-Disposition: filename=audio_1.wav
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Accept-Ranges: bytes
Expires: Wed, 17 Mar 2010 15:13:20 GMT
Server: Twisted/2.5.0 TwistedWeb/[twisted.web2, version 0.2.0]
X-Pad: avoid browser bug
Cache-Control: public,max-age=1000
Date: Wed, 17 Mar 2010 14:56:40 GMT
Content-Type: audio/wav

Please advise.

Thank you.

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

Re: Problem with Audio Caching

Post by support »

Hi,

How are you setting up your <audio> tags within your IVR code? Are you making sure to use the audiomaxage property?

Also, about caching, to minimize latency, you would want to set "audiomaxage" to the highest possible value (currently 604800) in all of your documents. Please see this previous IVR post for more details: http://support.plumvoice.com/viewtopic. ... rmat#p4371

Hope this helps.

Regards,
Plum Support

Post Reply