I had a really nasty problem on a really simple page. Just after a iisreset everything was fine but for every hour one - and just this single page - took 45 seconds to load. I logged every part of the page lifecycle - no problem. During that time the entire site hung.
Then i discovered that one href-link was pointing to a directory above the root.
<a href=”../../Global/file.pdf”>Click me</a>
I changed it to <a href=”/Global/file.pdf”>Click me</a> and it worked like a charm.
Since the property mainBody can contain dynamic content I use the EPiServer:Property control to place the content on the page.
The problem is solved but I´m curious - does anyone know why this happens?
Just tested with your sample. Site seems like to be working. On cold setup, with warm app pool, etc. Just a wild guess maybe that somehow related to Url rewriter. Try to turn it off (could be accomplished in episerver.config setting default provider to NullUrlRewriteProvider).