Asp. NET: Set page buffer to draw out the problem _ practical skills

Source: Internet
Author: User

A few days ago, in the process of using Respoonse.redirect ("a.aspx?f=9#12"), found in IE, jump after the page ignored the # after the content, strange is the same page to their own Redirect, this problem will not exist, Baffled, sick disorderly touyi it, the Internet crazy search A, someone said set the page buffer to false may solve this problem, so the a page of the buffer set false, after verification, this problem with the above irrelevant, but a momentary negligence, Forgot to change the buffer. Yesterday project released, put on the server on the launch of a page of the amazing execution time, the page content slightly larger, the page will often time out, while the implementation of the same function of the B-page execution is basically 0-16, and a page database query number of 3,b page for 7, This is even more puzzling, in the local test, b page is basically the same as the server, a page between the 90-300ms, and the obvious B page to performance of the data and query more than a, both from the page structure, basically the same, Because the two common use of the same UserControl, only the middle part of a slightly different form of expression, the same under the eaves of people, how the gap is so big? When I was puzzled, I deleted the page element and found that it didn't have the essential function. b page is surprisingly fast, a page with a stroke, the slow can, so looking for ya, basically said is a changed a time, on the bad ghost, suddenly found a page of the buffer set false, and B impressively is true, Suddenly enlightened, the iron nail is here the problem, immediately corrected, Good!a page immediately quickly up.

A careless, causing such trouble, but summed up the law, in the buffer set to False, and set true, the page in the processing time of the basic difference of 10-20 times the relationship, if later found the same function of the page, the speed difference, excluding the data processing and other factors, Consideration should be given to whether the above problems exist.

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.