ASP. NET: settings page buffer bring out the problem.

Source: Internet
Author: User
Asp.net | PAGE

A few days ago, use in a program respoonse. Redirect ("A. aspx? F = 9 #12 "), found in IE inside, jump after the page ignore # After the contents of, the strange thing is on the same page to their Redirect, this problem existed, construes sick any straw. Internet access. Searched, some people say that the settings page Buffer to false may solve this problem, and so a page of the buffer set false verified, this with the above-mentioned problems irrelevant, but in an unguarded moment, forget not buffer modifications, yesterday project release, put on the server clustered a page of the execution time of the amazing, the content of the page a bit older, page often timeout, and achieving the same function of B page execution time basic 0-16, and a page database queries for 3, B-page 7, this is more to wonder, in the local gave it a try, B page basically server no difference, a page in 90-300ms, and the obvious B page to the performance of the data and the query times than a more, both from the page on the structure, the same, because the two together using the same UserControl, only the middle part of the form of a little bit different, Under the same roof, gap between how so big? Wonder outside, one by one, to remove the page elements, found that simply can't afford to nature, B page is surprisingly quickly for him, a page with a stroke, slow, so find, find, basic say will be a changed again, sent said haunted amazing when, suddenly found that a page of the buffer set false, and B was true, suddenly see the light, Nails is here, immediately correct. Good! A page right now.

A Don't Be careful, caused so much trouble, but summed up the law, the buffer set to false to, and set up the true, page in the processing time of the basic difference between 10-20 times of if, in the future, found that the same function of the page, the speed difference between a lot of, the removal of data processing and other factors, should consider the existence of the above-mentioned problems.



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.