How to download a single audio file and use it in different audio elements using JS?

Hello!
Is it possible somehow to load once any audio file and then paste it in different page elements from the tag audio?
June 10th 19 at 14:41
2 answers
June 10th 19 at 14:43
javascript has nothing to do with it. Most salvemini browsers and so take it from the cache.
https://jsfiddle.net/Lvyt7db0/

q99Zp2d.png
That is, if using JS to load the same audio file, the audio file will be taken and cache?
I just need the RAID to create <audio></audio> to insert a single track. And I think that this file will re-boot each time. - lamar_Veum commented on June 10th 19 at 14:46
,
And I think
and you do check. - Austen.Thompson53 commented on June 10th 19 at 14:49
if the nginx server that can help - buck53 commented on June 10th 19 at 14:52
I don't have server) - lamar_Veum commented on June 10th 19 at 14:55
and the server here in General do with it. Unless you plan on it to put some brutal settings on the caching. - Austen.Thompson53 commented on June 10th 19 at 14:58
June 10th 19 at 14:45
I just need the RAID to create <audio></audio> to insert a single track.

Let me ask, why? This is some clever trick like audio sprites?

And then maybe you just need the loop attribute? Or does Web Audio APIif you are doing some kind of sequencer or something?
I'm doing something like web Studio, in which you can do the bits, etc. the Whole process will be in the form of a game take place) - lamar_Veum commented on June 10th 19 at 14:48

Find more questions by tags JavaScriptAudio