Tuesday, March 5, 2013

Enable Dynamic Content Compression in IIS 6, 7

Installation of the Dynamic Content Compression feature 

• Windows 7 and Vista
1. Open the Programs and Features console by going to Start > Control Panel > Programs and Features.
2. Click 'Turn Windows features on or off'.
3. In the Windows Features dialog, expand Internet Information Services > World Wide Web Services > Performance Features, and turn on Dynamic Content Compression.
4. Click OK.

• Windows Server 2008
1. Open the Server Manager console by going to Start > All Programs > Administrative Tools > Server Manager.
2. In the Server Manager tree view, expand Roles, and click Web Server (IIS).
3. In the main window, scroll down to the Role Services panel, and click Add Role Services.
4. In the Select Role Services dialog, click and enable Web Server (Installed) > Performance (Installed) > Dynamic Content Compression.
5. Click Next.
6. On the Confirm Installation Selections screen, click Install.
Enable compression in Microsoft IIS 7
1. Go to Start > All Programs > Administrative Tools > Internet Information Services (IIS) Manager.
2. In the Internet Information Services (IIS) Manager dialog, highlight the server name.
3. In the Features View, scroll down to the IIS Section and double-click the Compression icon.
4. Select 'Enable dynamic content compression'. Ensure that 'Enable static content compression' is also selected.
5. In the Actions box, click Apply.

 Consider increasing the value of the 'Only compress files larger than (in bytes)' setting to 1,024 bytes (1 kilobyte) or greater so the server and client application do not use resources to compress content of a relatively small size. This optimization setting depends on the individual system and may be affected by many factors such as available memory, CPU size, and CPU load. Esri does not recommend a value higher than 2,048 bytes (2 kilobytes).
6. Restart IIS by opening the Run dialog, typing "iisreset", and then clicking OK.

No comments:

Post a Comment