Enabling gzip compression for the http server.
PhantomJS installation guide