title: nginx which content types to enable compression for
body: <p>In several nginx tutorial sites explaining "how to set up gzip compression," I've seen this list of MIME types repeated:</p>
  
  <p><code>gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;</code></p>
  
  <p>However, I immediately found that this list did not result in compression being enabled for JavaScript in Chromium. I had to add <code>application/javascript</code> to the list. Which leads me to believe this list is outdated.</p>
  
  <p>Is there a definitive list of all the content types I would want to gzip?</p>