Hi
I have an asp.net view/page (dynamic) that is built up of nested Html.RenderPartials. The view is sent an appropriate viewmodel to render.
Firebug says the GET response for the HTML is 9.89 secs for 9.5KB. To compare the FAQ page (static html) of the same site is 1.3 secs for 17K.
At first I thought it was the SQL Entity back end slowing things down due to the complexity of the viewmodel but it seems to construct the viewmodel in less than 1 sec according to my logs.
Any ideas why the MVC view is taking so long to render please and how I can speed this up? I'm considering partial loading via ajax.
(btw I Gzip and use CDN's etc - I have yslowed the whole site to death)
Edit:
Added timers (Stopwatch) to OnActionExecuting/OnActionExecuted and OnResultExecuting/OnResultExecuted.
09/12/2010 18:39:20: Controller: Profile Action: Index Elapsed time: 680.6431 - Action
09/12/2010 18:39:29: Controller: Profile Action: Index Elapsed time: 9202.063 - Result
9 seconds for the framework to render the view.