title: Preloading all assets
body: <p>Is there a single universal way to load all assets before using them? I am wanting to load some images, audio files, and a few <code>.swf</code> files before my app starts. Currently, I load the images by creating new <code>&lt;img&gt;</code> elements and setting the <code>src</code> to the image path, for the audio files I add the <code>preload="auto"</code> attribute in the <code>&lt;audio&gt;</code> tag and I perform an <code>ajax</code> request to load the <code>.swf</code>s.</p>
  
  <p>Is there any problem (re some browsers not caching etc.) with the way I am currently loading my files and is there a 'best practices' way of collectively preloading all these file types before I display my content?</p>