How to optimize IIS Performance

Source: Internet
Author: User

IIS, an Internet Information Server that comes with Windows Server, is a common tool for setting up website servers. It is simple and troublesome, new users can use the IIS server to set up a decent Web site. However, it is not easy to configure and optimize the IIS performance so that the website access performance can reach the optimal state, here I will introduce how to optimize the IIS server step by step.

For the Server environment, take IIS6.0 of Windows Server 2003 as an example. The client environment is Mozilla Firefox 3.0 and the YSlow extension of Yahoo is installed.

YSlow is a Firebug-based plug-in released by the Yahoo developer team. It is used to analyze Web pages and rate the pages according to the rules of some high-performance websites. It is helpful for web page performance optimization and tells you that some of them affect the speed of your web pages, it also shows you how to optimize IIS based on certain rules. Our policy to optimize IIS is based on YSlow.

Optimize IIS and use Firefox with YSlow installed to open the target website. Then, click the YSlow icon and click Performance.

Among them, Performance Grade is YSlow's rating for your website, A100 points) is the highest, F is the lowest, and how to modify it is listed later, the following uses IIS 6.0 as an example to describe how to optimize website performance.

Optimize IIS to place style files in the header

This is the basic HTML code style. All CSS files are placed in the header of the HTML page.

Optimize IIS to put the script file at the end

This is also the basic HTML code style. All JavaScript files are placed at the end of the HTML page.

Optimize IIS to avoid CSS expressions

This is simple, because most people never use CSS expressions.

Use external JavaScript and CSS

Reference all JavaScript and CSS files in the form of external files to make these files accessible to the browser. For more information, see section 3.

Optimize IIS to Reduce DNS queries

The DNS query of a domain name will incur additional access overhead, reducing the number of host domain names of files on the page. The host domain name of a page is kept within 2-4, so that the page loading speed will not be reduced.

Optimize IIS to compress JavaScript files

Compressing script files and deleting unnecessary characters can improve the loading time. Currently, there are many JavaScript file compression tools. Here I have a JavaScript compression tool on the GUI for download.

Here we will explain how to optimize IIS.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.