jQuery image swap from cache?
<p>I'm using jQuery and running on Firefox, Swapping images for an collapsible list (triangle symbols to indicate if the list is expanded or collapsed), and the images never seem to load from the cache, but are always loaded from the net.  This greatly slows the swap.  What could be causing this situation?</p>

<p>here's a sample of my swap code:</p>

<pre><code>jQuery('img.clickIt').attr('src','http://www.mysite.com/images/expandon.gif');
</code></pre>

<p>what I have tried:</p>

<ol>
<li><p>loading the images to be swapped in a hidden div on the same page, I thought that would allow jQuery to load the images from the cache, but it doesn't seem to work.</p></li>
<li><p>implemented various jQuery caching code, posted in stakoverflow and different sites, and that doesn't seem to matter either.  </p></li>
<li><p>Firefox cache is turned on in the config file.</p></li>
</ol>

<p>Thanks for any ideas!</p>
