Microsoft Recommended ASP Performance Optimization 28 rules

Source: Internet
Author: User
Tags object model

Directory
Tip 1: Cache frequently used data on a WEB server
Tip 2: Cache frequently used data in a application or Session object
Tip 3: Cache data and HTML on a WEB server's disk
Tip 4: Avoid caching non agile components in a application or Session object
Tip 5: Do not cache database connections in application or session objects
Tip 6: Use session objects appropriately
Tip 7: Encapsulate code in a COM object
Tip 8: Get the resources later and release the resources earlier.
Tip 9: Process performance in exchange for reliability
Tip 10: Use an explicit option
Tip 11: Use local variables in subroutines and functions
Tip 12: Copy frequently used data into a script variable
Tip 13: Avoid the ability to redefine the dimensions of an array
Tip 14: Use response buffering
Tip 15: Batch inline scripts and Response.Write statements
Tip 16: If the page takes a long time to complete, use response.isclientconnected before executing
Tip 17: Use <OBJECT> tag to sample objects
Tip 18: Use TypeLib binding for ADO and other components
Tip 19: Use the browser's validation capabilities
Tip 20: Avoid using string concatenation in circular statements
Tip 21: Enable browser and proxy caching
Tip 22: Use Server.Transfer instead of Response.Redirect whenever possible
Tip 23: Use the back slash in the directory URL
Tip 24: Avoid using server variables
Tip 25: Upgrade to the latest and most outstanding
Tip 26: Optimize your WEB server
Tip 27: Perform a performance test
Tip 28: Read Resource Links
Introduction
Performance is a feature. You must design the performance beforehand, or you will have to rewrite the application later. That is, what are some good strategies for enabling Active Server Pages (ASP) application performance to be optimal?
This article describes the optimization of ASP applications and Visual basic&reg; Scripting Edition (VBScript) techniques. This article discusses a number of pitfalls. The recommendations listed in this article have been tested in http://www.microsoft.com and other sites with significant results. This article assumes that you have a basic understanding of ASP development, including VBScript and/or JScript, ASP application, ASP sessions, and other ASP-intrinsic objects (Request, Response, and Server).
Typically, ASP performance is largely dependent on a number of factors outside the ASP code itself. We don't list all the information in an article, and at the end of this article we list the resources that are related to performance. These links cover ASP and non-ASP topics, including activex&reg; Data Objects (ADO), Component Object Model (COM), database, and Internet information Server (IIS) configuration. These are some of our favorite links-be sure to go and see.
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.