The following are eight ways to improve the efficiency of IIS 5.0 website server execution:
1. Enabling the continuous effect of HTTP can be improved by 15 ~ 20% execution efficiency.
2. Record disabled can be improved by 5 ~ 8% execution efficiency.
3. Using a [independent] processing program will result in a 20% reduction in execution efficiency.
4. Increase the number of files stored in the cache to improve the efficiency of Active Server Pages.
5. Do not use CGI programs.
6. Increase the number of CPUs of IIS 5.0 computers.
7. Do not enable ASP debugging.
8. Static web pages adopt HTTP compression, which can reduce the transmission volume by about 20%.
A brief introduction is as follows:
1. Enable the continuous effect of HTTP
When the HTTP continuous function (Keep-Alive) is enabled, the connection between IIS and the browser will not be broken, which can improve the execution efficiency until the browser is closed. Because the "Keep-Alive" status does not require a new connection during each client request, the server efficiency will be improved.
This function is a preset function of HTTP 1.1. HTTP 1.0 with the Keep-Alive header can also provide the continuous function of HTTP.
2. Enabling the continuous effect of HTTP can be improved by 15 ~ 20% execution efficiency.
How to enable the continuous effect of HTTP? The procedure is as follows:
In [Internet service administrator], select the entire IIS computer or Web platform. On the [content] [main directory] Page, select the [HTTP continuous function] Option.
3. Disable record
If the record is not enabled, it can be improved by 5 ~ 8% execution efficiency.
How can I Disable Logging? The procedure is as follows:
In [Internet service administrator], select the entire IIS computer or Web platform. On the [main directory] Page of [content], the [enable Record] option is not checked.
Set a non-independent Handler
Using a [independent] processing program will result in a 20% reduction in execution efficiency, here, "independent" refers to setting the application protection option on the [main directory] and [virtual directory] pages to [high (independent. Therefore, when [Application protection] is set to [low (IIS processing program)], the execution efficiency is high. The setting screen is as follows:
How to Set a non-"independent" processing program? The procedure is as follows:
In [Internet service administrator], select the starting directory of the entire IIS computer, Web platform, or application. On the [main directory] and [virtual directory] pages of [content], set the application protection option to [low (IIS handler)].
4. Adjust Cache memory
IIS 5.0 saves static webpage data to the Cache; IIS 4.0 saves static webpage data to the file. Adjusting the number of files stored in the Cache improves the execution efficiency.
After the ASP instruction document is executed, it is saved to the Cache to improve the execution efficiency. Increasing the number of files stored in the cache improves the efficiency of Active Server Pages.