Article: Optimize ASP.Net Pages By Reducing The Size Of The Viewstate To Rank Higher On Search Engines
|
|
|
|
|
Optimize ASP.Net Pages By Reducing The Size Of The Viewstate To Rank Higher On Search Engines
One way to optimize the pages you develop with ASP.NET is to keep a check on the view state of the page and the controls that are added to the page. Any seasoned developer of ASP.NET will remember the VIEWSTATE which is added to every page in a hidden field _VIEWSTATE and contains base64 encoded data which could be any where from 800 to tens of thousands of characters long depending on your usage of this property on your page.
There are many issues with view state in ASP.NET 1.x. It is on by default, and unless you know to look for it and disable it when it is not needed, it can significantly increase the amount of data rendered by your page. This becomes particularly painful when you use data-bound controls, all of which use view state to save their state across post backs....
|
|
|
|
|
|
|
Home
|
Back To Articles Directory
|
|
|
Send your comments, Suggestions or
Queries regarding this site at roseindia_net@yahoo.com.
|
|
Copyright © 2006. All rights
reserved.
|
|