title: Firefox ignores Cache-Control no-store, no-cache when I use AJAX
body: <p>In my web-site every pages can return html and json.
  If request is normal page returns html, if request is AJAX page returns json.</p>
  
  <p>The problem is that firefox caches html response when I need json response.
  In both cases response headers with no-cache options</p>
  
  <pre><code>Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Connection  Keep-Alive
  Date    Sat, 13 Apr 2013 08:31:06 GMT
  Expires Thu, 19 Nov 1981 08:52:00 GMT
  Keep-Alive  timeout=5, max=100
  Pragma  no-cache
  </code></pre>
  
  <p>This is how I am doing AJAX request:</p>
  
  <pre><code>$.ajax({
      url: window.location.href,
      dataType: 'json',
      //cache: false,
      success: function(data) {
          // here I get html, (must be json)
          // If I set "cache: false" then all is ok
      }
  });
  </code></pre>
  
  <p>This problem is in firefox. In chrome all is ok</p>
  
  <p>I think it because I'm sending the request on the page where I'm locating now. Because If I change url for example on window.location.href . '?a=1' and if I already been on page window.location.href . '?a=1' AJAX returns json how I want.</p>