I want to compress responses coming from my IIS Express driven web application. We’re using IIS Express as local development webserver and IIS on staging and on our build machines. I have found many guides on enabling gzipped responses on IIS but none for IIS Express. Is it even possible?
I want to compress responses coming from my IIS Express driven web application. We’re
Share
You can enable compression in IIS Express, just like for IIS.
Start command prompt and go to IIS Express installation folder (
%PROGRAMFILES%\IIS Express)Run following command
To add compression for JSON run the following two commands from the IIS Express installation directory:
Make sure to restart IIS Express.