I am trying to deploy a node.js app on heroku , which is serving unity webGL exported game to clients. After Unity3d 5+ release , WebGL exports by Unity uses gzip compression by default .
Well ,
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 & a slight delay while browser manually decompresses it.
These are the file types Unity WebGL Export provides = || . datagz || . jsgz || . memgz ||
So what i need is , a way to configure heroku node.js server for serving the gzip compression .