title: Is checking mousemove a good way to determine whether or not to download assets?
body: <p>So I've got a web app that is for all intents and purposes a photo viewer.  </p>
  
  <p>When a thumbnail is clicked, the app </p>
  
  <ol>
  <li>requests the image asset,</li>
  <li>injects it into the DOM as an IMG tag</li>
  <li>and disposes the other</li>
  </ol>
  
  <p>(MooTools <code>Asset.image</code>, <code>inject</code> and <code>dispose</code>).</p>
  
  <p>If they click on an image that has already been loaded I just inject it again since <code>dispose</code> stores it.</p>
  
  <p>Users look at the images for an average of 12 seconds (according to my stats), that's plenty of time to download a few more.</p>
  
  <p>So my question again, slightly rephrased:</p>
  
  <p><strong>Is it good or bad practice to determine if I should download other assets in the background based on the movement of their mouse?</strong></p>
  
  <p>So if the mouse isn't moving, download the next few assets.  If it starts moving, stop and wait for the mouse to stop (and have a little interval before starting to download again, like 1 or two seconds).</p>
  
  <p>It seems like a good idea to me but it just feels like there are some secondary effects I'm not thinking about.</p>
  
  <p>Gracias.</p>