title: Gzipped javascript not being served properly
body: <p>I have a <code>js file and a gzipped version</code> of this js file.</p>
  
  <p>The problem I am facing is trying to serve the gzipped version of this js file to the browsers that support it.</p>
  
  <p>I don't know how to do that. If I add the js.gz to the current script element then it is not loaded and gives error.</p>
  
  <p>How can I automatically serve the gzipped version of this js to the supported browsers.</p>
  
  <p>Also I would like to restrict the gz serving the the folder <code>/resources/widget/</code></p>
  
  <p>I <code>don't want to compress on the fly</code> as i have around <code>1000 requests per second</code> and it would take minutes to take down the server. Each js file is about 100KB and js.gz is about 16KB, so I would appreciate if I could be helped with my current files.</p>