title: How to Configure Heroku to host files using gzip compression
body: <p>I am trying to deploy a <strong>node.js app on heroku</strong> ,
  which is serving unity webGL exported game to clients.
  After Unity3d 5+ release , <strong>WebGL exports by Unity uses gzip compression</strong> by default .</p>
  
  <p>Well , </p>
  
  <blockquote>
    <p>heroku server [Node.js] dont serves gzip compressed files , which is
    causing my Game to throw error in console on load , main unity loading
    window wont update (just blank) till files dont get completely
    download &amp; a slight delay while browser manually decompresses it.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/aVnHL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aVnHL.png" alt="enter image description here"></a>These are the file types Unity WebGL Export provides = || <strong>.</strong> datagz || <strong>.</strong> jsgz || <strong>.</strong> memgz  ||</p>
  
  <p>So what i need is , a way to configure heroku node.js server for serving the gzip compression .</p>