title: ajax cache false not working to load image
body: <p>i want to load image from server when ever i click a button by using get request but every time i load using ajax it bring cached image not the latest one</p>
  
  <p>here is my code</p>
  
  <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"&gt;
  &lt;/script&gt;
  &lt;script&gt;
  $(document).ready(function(){
  $.ajaxSetup({ url:"cap", cache: false });
  
   $("#btn").click(function(){
          $("#mydiv").load("cap");
      });
  });
  
  &lt;/script&gt;
  
  
               &lt;div style="display:block;margin-bottom:20px;margin-top:20px;"&gt;
  
               &lt;div id='mydiv'&gt;&lt;/div&gt;
              &lt;/div&gt;
              &lt;button id='btn'  &gt; reload  &lt;/button&gt;
  </code></pre>