title: Unexpected token ILLEGAL with gzip compression
body: <p>I am having a problem with gzip compression on my site.  I've combined several javascript files to one files and they work ok without compression. Afterwards I've compressed them (gzip) and tried to run the site again, but get the following error:</p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token ILLEGAL</p>
  </blockquote>
  
  <p>I've compressed the file using several methods, one using gzip software and I also tried other gzip online compression tools <a href="http://www.refresh-sf.com/yui/" rel="nofollow">like this one</a>.</p>
  
  <p>I can't understand why I get this error why it doesn't work, because the non-compressed version does work. I ran the site on Chrome, latest version.</p>
  
  <p>It also tells me that the error is in line 1</p>
  
  <blockquote>
    <p>all_js.js.gz:1</p>
  </blockquote>
  
  <p>Of course the compressed code has many lines, not just one.</p>
  
  <p>I've read a few answers, but nothing regarding gzip compression.</p>
  
  <p>I get this error when working with Visual Studio (ASP.NET) on local machine.</p>
  
  <p>I tried serving the file from S3 with 'application/x-gzip' headers, but it still didn't work. I want to serve my files via CDN after compressing, so I don't search for server compression solutions.</p>