Audio files not cached
Posted: Mon Jun 04, 2018 12:01 pm
I've read the following caching references in the documentation.
http://www.plumvoice.com/docs/dev/devel ... ce:caching
https://www.plumvoice.com/docs/dev/voicexml:tags:audio
My goal is to have Plum cache my audio files (.wav) for a period of time.
Below is snippet of the vxml with how I'm prompting with an audio file served by my application...
The audio plays but subsequent executions of the call all result in a cache miss...
Also, here's the HTTP response headers my application provides when serving the audio file...
Am I missing some configuration setting, header or vxml attribute to get this to work?
Thanks
http://www.plumvoice.com/docs/dev/devel ... ce:caching
https://www.plumvoice.com/docs/dev/voicexml:tags:audio
My goal is to have Plum cache my audio files (.wav) for a period of time.
Below is snippet of the vxml with how I'm prompting with an audio file served by my application...
Code: Select all
<prompt>
<audio maxage="10800" maxstale="0" src="https://myhost/plum/assets/11cbfc07-6f8c-4747-9283-2962518002ed/RC2u.wav"/>
</prompt>
I was unable to find much documentation that talks specifically about audio file caching. I would expect that subsequent calls within the maxage range would use a cached audio file.Cache Miss: https://myhost/plum/assets/11cbfc07-6f8 ... d/RC2u.wav
Attempting to fetch https://myhost/plum/assets/11cbfc07-6f8 ... d/RC2u.wav
Also, here's the HTTP response headers my application provides when serving the audio file...
Code: Select all
Cache-Control max-age=10800, max-stale=0
Content-Length 30669
Content-Type audio/wav
Date Mon, 04 Jun 2018 16:43:22 GMT
Etag "0adaac5b5586a87cfa8dc573be96a0cb1"
Expires Mon, 04 Jun 2018 19:43:22 GMT
Last-Modified Wed, 28 Mar 2018 00:09:58 GMT
Thanks