Twenty-eight skills for improving ASP performance and appearance

Source: Internet
Author: User
Clockwise Development Network

Http://net.rcomponent.com/net/portal-view-aid-615.html


Len Cardinal, Senior Consultant, Microsoft Consulting Services George V. Reilly Microsoft IIS Performance Lead
Adapted from Nancy cluts article by Microsoft Corporation, technical engineer, developer, April 2000
Abstract: This article describes how to optimize ASP applications and VBScript.
Directory
Tip 1: cache frequently used data on a Web server
Tip 2: cache frequently used data in application or session objects
Tip 3: cache data and HTML on the disk of the Web Server
Tip 4: Avoid caching non-agile components in application or session objects
Tip 5: Do not cache database connections in application or session objects.
Tip 6: reasonably use session objects
Tip 7: encapsulate code in a COM Object
Tip 8: Get resources later and release resources earlier
Tip 9: Out-of-process execution processes exchange performance for Reliability
Tip 10: use explicit options
Tip 11: use local variables in subroutines and functions
Tip 12: Copy frequently used data to script variables
Tip 13: avoid re-determining the array dimension
Tip 14: Use response Buffering
Tip 15: batch processing embedded scripts and response. Write statements
Tip 16: If the page takes a long time to complete, use response. isclientconnected before execution.
Tip 17: use an object to mark the example object
Tip 18: Use typelib to bind ADO with other components
Tip 19: Use the browser verification function
Tip 20: Avoid using String concatenation in loop statements
Tip 21: Enable browser and proxy caching
Tip 22: Try to replace response. Redirect with server. Transfer.
Tip 23: Use a backslash in the directory URL
Tip 24: Avoid using server Variables
Tip 25: upgrade to the latest and best
Tip 26: optimize Web Servers
Tip 27: perform a performance test
Tip 28: Read resource links


......
Clockwise Development Network http://net.rcomponent.com/net/portal-view-aid-615.html

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.