Moving ViewState to the bottom of the page…

…can be good for a number of reasons.

We chose to do so in the project that I’m currently working with, and it’s really quite straightforward to achieve. I followed the following tutorial, and was good to go in a minute or so:

http://www.dotnetspider.com/resources/786-Move-ViewState-e-bottom-e-page.aspx

However, I adjusted the script a bit and also moved it to our master page, since the master page is also responsible for converting HTML 5 code to plain old divs if the browser lacks support.

We have also moved all JavaScript files as well, to ensure that nothing is delaying the page rendering. The result is a page that seems to load faster, although all loading is actually happening after the page is rendered, and that is more friendly to search robots.

Advertisements