ASP.NET: the problem raised by the Settings page buffer

  • 2020-05-05 11:08:05
  • OfStack

A few days ago, Respoonse.Redirect (" a.aspx? f = 9 # 12 "), found in IE jump after ignoring the # after the page's content, it's strange that on the same page Redirect towards him, the problem existed, and mystery, sick flying blind, Internet KuangSou a chair, someone says Settings page for false Buffer may solve this problem, and will set up a false buffer a page, after verification, this does not pertain to the question, but a slip-up, forget not amend the buffer, project released yesterday, On server intelligence a page of the execution time of the big, a little bit big page content, page often overtime, and realize the same function b basic 0-16 page execution time, and database query a page number 3, b page 7, it's more let a person feel suspicious, under the local tried b page and server basically no difference, between 90-300 ms a page and obvious b page to show the number of data and query than a, The two are basically the same in terms of page structure, because they both use the same UserControl, only the middle part of the presentation is slightly different, with the same people under the same roof, why the gap is so big? Wonder, delete the page elements, found no essential role, b page is surprisingly fast, a page like stroke, can be slow, so find the find, basic it will a changed, just say haunted get time, suddenly found a false buffer set on the page, and b impressively is true, be suddenly enlightened, nails is the problem here, immediately correct, good! The a page was immediately up.

      one not careful, cause so much trouble, but the rule is summarized, in the buffer set to false, and set the true, page on the processing time is the basic difference between 10-20 times, if later found that the same function of the page, the speed difference, ruled out factors such as data processing, should consider whether there is the problem.


Related articles: