Enable IIS Dynamic Compression

IIS compression increase the performance and decrease the usage of network bandwidth.

There are two types of IIS compression:

  • Static: compress and cache compressed files like (*.html, *.htm,*.doc, *.xls, *.ppt,*.txt)
  • Dynamic: compress each http request without cache.

To enable Dynamic Compression ,please follow the below steps:

Windows 8

Go to Control Panel > Programs and Features

IISCompression1

 

 

 

Turn Windows features on or off

Internet Information Services > World Wide Web Services > Performance Features

IISCompression2

Windows Server 2008 R2

Go to Server Manager > Roles > Web Server (IIS) > Add Role Services

IISCompression8

IISCompression9

Windows Server 2012

Server Manger > Dashboard > Add roles and features

IISCompression3IISCompression4IISCompression6IISCompression5

IISCompression7

 

 

Advertisements

Get HTTP Sub status Number for Troubleshooting

When you get an error like 401,404 or 500 you want to troubleshoot it, the first thing you should do is determine what “type” (i.e. HTTP sub status).

Go to %SYSTEMROOT%\System32\LogFiles\W3SVC########\

Replace ########with the number in the above screen

EX: %SYSTEMROOT%\System32\LogFiles\W3SVC86032275\

The W3C log entries look like the following, with the HTTP status, substatus, and Win32
error codes highlighted.

httplog

For all HTTP Status code, visit here : The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0