title: Escaped double quotes by slashes make browser load it enormously slow
body: <p>I have recently faced with a very odd problem. I don't have any ideas where even look for a solution.</p>
  
  <p>When I generate or upload static file with a textual content that contains a lot of escaped double quotes by slashes, it makes a browser load it very-very slowly.</p>
  
  <p>You can check it yourself. For example, if you create a textual file with a repeated string <code>var=\"value\" </code> of 35000 times, it will couse such behaviour.</p>
  
  <p>I use Apache 2.4 to access a file via URL. It happends on:</p>
  
  <ul>
  <li><strong>Windows 7</strong>: Chorme, Mozilla, Opera, IE Edge;</li>
  <li><strong>Windows XP</strong>: Mozilla;</li>
  </ul>
  
  <p>The intereting fact is that it works well in Safari on <strong>MacOS</strong>.</p>
  
  <p>If you want to replicate the problem, you can use the following PHP code to generate such file:</p>
  
  <p><code>str_repeat( 'var=\\"value\\" ', 35000 )</code></p>
  
  <p>The weirdest part is: if you use single quotes, everything is fine.</p>
  
  <p>Here are my own tests:</p>
  
  <ul>
  <li><p>A file with the repeated string <code>var=\"value\" </code> of 35000 times has a size 478Kb and it takes 78 seconds for my browser to load it.</p></li>
  <li><p>A file with the repeated string <code>var=\'value\' </code> of 35000 times has a size 478Kb and it takes 0.165 second for my browser to load it.</p></li>
  </ul>
  
  <p>I use Apache on my local computer, so the Internet connection cannot be a problem.</p>