title: HTML (or R Shiny) Audio Caching
body: <p>After figuring out <a href="https://stackoverflow.com/questions/36205419/r-shiny-audio-playback">how to make a Shiny server play a wav file</a>, I created a shiny server that dynamically creates wav files based on reactive input. However, the first wav file gets cached, and despite changes to the file or even renaming the file, only the first wav is played until a full page refresh.</p>
  
  <p>How could I play a changed wav file after it is changed through an HTML-based Shiny app?</p>
  
  <p>I understand that this question has been asked (and solved) for HTML developers in a few places, using <a href="https://stackoverflow.com/questions/7692082/loading-audio-element-after-dynamically-changing-the-source">javascript</a> or <a href="https://stackoverflow.com/questions/9421505/switch-audio-source-with-jquery-and-html5-audio-tag">Jquery/php</a> or a <a href="https://stackoverflow.com/questions/25821915/how-to-force-the-html5-audio-tag-to-reload-a-changing-file">server-side solution</a>, but I haven't figured out how to make any of these work with Shiny.</p>