Enabling gzip compression on IIS for angular 5+ apps

Discussion in 'Getting started' started by jzahoor, Nov 12, 2018.

Tags:
  1. Anyone have any thoughts on how to enable static and dynamic compression in IIS for Angular 5+ apps?

    Goal is to decrease the size of files being served from web server to the browser. There's static and dynamic content in the application.

    Ideally, I'm looking for a web.config solution that will be compatible with the Everleap environment.

    Thanks!
     
  2. So it seems that my Angular app when hosted with DASP streams about 6.6MB to the browser before it can load. Ouch!

    However, the same exact codebase when hosted on Everleap is streaming only 1.9 MB total for the app for the same inital load. Does this mean that DASP's web servers don't have compression built-in/enabled and Everleap's does?

    Someone on the EL crew please confirm this so I can understand the discrepancy. Fyi, same codebase hosted on MS Azure is behaving the same way as EL.

    Thanks!
     
  3. Ray Huang and Martin Ortega like this.
  4. Martin Ortega

    Martin Ortega Everleap staff

    Thanks for the follow up!
     
    jzahoor likes this.

Share This Page