Tips for optimizing ASP applications and VBScript.

Source: Internet
Author: User
  • Introduction
  • Tip 1: cache common data on a Web server
  • Tip 2: cache common data in application or session objects
  • Tip 3: cache data and HTML on the Web server disk
  • Tip 4: Avoid caching non-flexible components in the application or Session Object
  • Tip 5: Do not cache database connections in application or session objects
  • Tip 6: Use session objects
  • Tip 7: encapsulate code in a COM Object
  • Tip 8: Get resources later and release resources earlier
  • Tip 9: Off-process execution sacrifices Reliability
  • Tip 10: use options explicitly
  • Tip 11: use local variables in subroutines and functions
  • Tip 12: Copy common data to script variables
  • Tip 13: Avoid redefining Arrays
  • Tip 14: Use response Buffering
  • Tip 15: batch processing embedded scripts and response. Write statements
  • Tip 16: Use response. isclientconnected before starting a long task
  • Tip 17: Use <Object> to mark the object to be instantiated
  • Tip 18: bind the ADO object to typelib of other components
  • Tip 19: Use the browser's verification capability
  • Tip 20: Avoid String concatenation in a loop
  • Tip 21: Enable browser and proxy caching
  • Tip 22: Try to replace response. Redirect with server. Transfer
  • Tip 23: Add a slash to the end of the Directory URL
  • Tip 24: Avoid using server Variables
  • Tip 25: upgrade to the latest and best version.
  • Tip 26: Adjust the Web Server
  • Tip 27: perform a performance test
  • Tip 28: Read resource links

     

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.