title: Why is jQuery "reloading" itself (via Ajax) after I have included it myself?
body: <p>I'm seeing some strange behaviour on a web page... I have included jQuery (and jQuery UI) using regular script tags. When the page loads I see that the file is loaded (from the local browser cache as there are far-future Expires headers on the file).</p>
  
  <p>However, it seems that jQuery itself initiates a new network request to fetch itself again, including a random parameter value which causes the file to download (ie not use the cached version).</p>
  
  <p>A screenshot from Chrome's network tab:</p>
  
  <p><img src="https://i.stack.imgur.com/1sg1J.jpg" alt="jQuery loading itself... ?"></p>
  
  <p>This is very strange... what is happening here ?</p>
  
  <p><strong>UPDATE:</strong> The code that is triggering this behaviour is the following:</p>
  
  <pre><code>   $(window).load(function() {
       $("#t20ContentRightWrapper").toggle("slide", { direction: "right" }, 400);
     });
  </code></pre>
  
  <p>If I change it to this instead, the "double-loading" goes away:</p>
  
  <pre><code>   $(window).load(function() {
         $("#t20ContentRightWrapper").toggle("fade", 400);
     });
  </code></pre>
  
  <p>So basically, when I'm using the "slide" animation, jQuery and jQuery UI get reloaded with extra network requests, while using the "fade" animation does not.</p>
  
  <p>I want to use the "slide" animation so I need to know what's going on here... !</p>
  
  <p><strong>UPDATE 2:</strong> Here's a screenshot that shows the call stack when hovering over the "Initiator" script in Chrome:</p>
  
  <p><img src="https://i.stack.imgur.com/CUGUJ.jpg" alt="Detail"></p>