Some views on how to improve the efficiency of ASP implementation:<br>
<br>
1, hardware problems:<br>
Server settings and configuration is undoubtedly the most important determinant of the implementation speed of ASP, but related to this problem and Mimi, no need to wordy. <br>
<br>
2. Avoid using a variety of scripting languages in one page <br>
such as: <script language= "vbs" > and <script language= "JavaScript" ><br>
Because if you mix multiple scripting languages in a script, the server will have to load multiple script engines to explain them one at a, which is bound to affect the efficiency of script execution. <br>
<br>
3, reduce the end of the script and the end of the switch <br>
such as:<tr><%=var1%><tr><%=var2%><br>
When an ASP encounters a script, it must be interpreted and sent to the front end of the terminal, and frequent switching can also cause a significant reduction in speed, especially in circular statements. <br>
The above code can be changed to <%response.write "<tr>" & var1 & "<tr>" & var2%><br>
<br>
4, more use to compile the components <br>
The compiled component is certainly faster than the ASP code that interprets the execution. (hehe, I like doing this!) ) <br>
<br>
5, access to the database <br>
Access to the database is the most time-consuming, so flexible use of stored procedures, the correct use of conn,rs and so will be a page brush. <br>
<br>
6, the use of page elements <br>
Minimize unnecessary page elements, such as nesting of tables <br>
<br>
7, has not thought for the time being, thanks everybody to join in, please continue to do me to add. <br>