title: How to increase audio loading speed using JavaScript?
body: <p>I have created code for playing an <code>.mp3</code> file using JavaScript. But the file is taking to much time to play on Android. I want to play the sound quickly after click on a text image. How do I increase loading speed on Android? <br/></p>
  
  <p>My JavaScript code:</p>
  
  <pre><code>if(window.audio) 
  {
      audio.pause(); 
  }
  window.audio = new Audio (audio_path);
  window.audio.play();
  </code></pre>
  
  <p>Check demo here -
  <a href="http://97.74.195.122/gizmo-demo/canvasslidertwo.php" rel="nofollow">http://97.74.195.122/gizmo-demo/canvasslidertwo.php</a></p>
  
  <p>In the above link, click on the Japanese word for playing sound.</p>