I created packages in my asp.net web solution using the new MS binding and minimization package. Everything is correctly bundled and minimized (the global.asax method is used), but when I deploy to IIS, the package does not receive compression (gzip), I do not want to enable dynamic compression (since it will compress all dynamic content), you just want to compress it packages.
What to do?
What is the mime type for related output, for example, for this package called jQuery:
"http://Myhost/MySite/JQuery?v=1Oof3SDB0npBNcnfiEpdM9WovwwmP-UGKz3QrSQLPPQ1"
Therefore, I can add the same in the webconfig file in the httpCompression section for gzip compression.
Regards, Gaurav
source share