Master page refresh for each postback question

  • Thread starter Thread starter Bishop
  • Start date Start date
B

Bishop

Using master pages, everytime the page reloads there is a delay where I see
the background, then the new page starts to display. Although I remember
seeing some of this with asp.net 2003 it seems more pronounced with 2005
master pages.

Is this just in my head or is this a common occurance and is there any
adjustments or caching that can be done to minimise this?
 
I don't experience this, but if you have relatively little code in the page
load event of the master page and lots of complex code in the pageload event
of the content page then that may be the cause.
 
I can understand the entire page load waiting on the content page to process
but in many cases it's not much processing that takes place.
 
I thought the Master page controls were injected into the page
hierarchy? I don't think they render separately - if you're now having
problems and weren't before, I think you'd have to look elsewhere.

Anyone want to prove me wrong (again) on this?
 
it's just that the pages come up much slower than they did with asp.net
2003. I setup a test with pages that rendered static HTML. When I click a
link I see the background color for a sec, then the page displays. with
2003 the same thing happened but the time between seeing the background
color and the new page seemed much faster.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top