The following are several ways to improve the execution efficiency of IIS 5.0 website servers. We will give a brief introduction here. Of course, there are other ways to improve the execution efficiency of IIS 5.0 website servers, we will not explain it here.
1. Enable the continuous effect of HTTP
When the HTTP continuous function (Keep-Alive) is enabled, the connection between IIS 5.0 and the browser is not 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 5.0 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 5.0 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 5.0 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.
You can set the number of cache memory files for all applications running on an IIS 5.0 PC, an "independent" Web site, or an "independent" application.
How can I set the Cache function? The procedure is as follows:
On the [Internet service administrator] Page, select the starting directory of the entire IIS 5.0 computer, independent Web platform, or independent application. On the [main directory] and [virtual directory] pages of [content], when you press the [set] button, you can set [Instruction Cache] on the [handler options] Page.