In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to analyze and optimize the knowledge in IIS, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
IIS, Windows Server's own Internet information server, is a common tool for setting up a website server, which is both simple and troublesome. Beginners can use IIS server to build a decent Web site, but it is not easy to configure and optimize IIS performance to make website access performance saturated. Here I will introduce how to optimize IIS server step by step.
In the server environment, we take the IIS6.0 of Windows Server 2003 as an example, and the client environment is Mozilla Firefox 3.0. at the same time, install the YSlow extension of Yahoo.
YSlow is a Firebug-based plug-in released by the Yahoo developer team. Used to analyze web pages, and according to some high-performance site rules for the corresponding rating rating, for page performance optimization has a very good help, tell you which parts affect your page speed, and tell you how to optimize IIS based on certain rules. Our strategy for optimizing IIS is based on YSlow.
Optimize IIS use Firefox with YSlow installed to open the target website, then click the YSlow icon and click Performance.
Among them, Performance Grade is the rating of your website by YSlow, An is * *, F is *, and the following is a list of how to modify it. I will take IIS 6.0as an example to introduce how to optimize the performance of your website.
1. Optimize IIS to reduce the number of HTTP requests
This is mainly to modify the website code, reduce the number of external pictures, CSS, JS and other files, and manually merge multiple CSS/JavaScript files. There is no need to set it up in IIS.
2. Use CDN to optimize IIS
For small websites, this can be avoided. Of course, rich people can give it a try, which can technically solve the problem of slow response of users to visit the website.
3. Optimize IIS to enable content expiration
Enabling content expiration for static files can improve access performance. First of all, the directory of the website should be divided reasonably. Pictures, CSS and JavaScript are all placed in a separate directory, then select the directory in IIS, click the attribute-HTTP header, and enable the content to expire. You can choose to go there in 30 days.
In this way, the user's browser compares the current date with the due date to decide whether to display a cached page or a page that requests an update from the server, and because the pictures, CSS, and JS usually change little, they are basically read from the local cache, thus speeding up the display.
In this way, the optimization of IIS is partially done.
The above content is how to analyze and optimize the knowledge in IIS. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.