Reputation: 13
How can I enable IIS8 to gzip static files like js and css and how can I test if IIS8 is really gziping them before sending to the client?
Upvotes: 1
Views: 3064
Reputation: 414
First open chrome dev tools and go to network tab and check for static files size. After that you can enable gzip with
Open powershell as administrator and run the following command: Add-WindowsFeature Web-Server, Web-Dyn-Compression
Second option: Under Server Manager click Add roles and features -Click Next for Role-based or featured-based installation -Select Server Roles -Expand Web Server (IIS) role -Under Performance check the option for Dynamic Content Compression
after this you can check again static files
Upvotes: 5