Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

DotNetNuke Forums

DotNetNuke ForumDotNetNuke ForumOur CommunityOur CommunityGeneral Discuss...General Discuss...New Microsft SEO tool says "The ASP.NET view_state is too long"New Microsft SEO tool says "The ASP.NET view_state is too long"
Previous
 
Next
New Post
9/29/2009 9:44 AM
 

 I just ran the new MS SEO toolkit on my DNN site, and it gave a warning saying the view_state is so long it is likely that most crawlers wont get past it to the actual page data. I checked the view_state on my page and it is vast - is this normal?

New Post
9/29/2009 3:55 PM
 
  • it is the same with all pages (it might depend on the modules used)?
  • which DNN version are you using?

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German DotNetNuke User-Group   European Network of DotNetNuke Professionals

Attend the European Day of DotNetNuke - 28-05-2010 at Paris!
New Post
9/30/2009 8:13 AM
 

The SEO tool is correct, though possibly dated.  And DNN's view_state is incredibly long.  But most crawlers now ignore the view_state.  You can also use some tools to move the view_state to the bottom of the page code, I think this one still works:

http://www.csharphelp.com/archives4/archive681.html

Also, DNN version 4.8(?) moved the view_state to the bottom of the rendered page, making this a moot point.

Jeff

New Post
10/3/2009 1:34 AM
 

Sebastian

I am using both 4.9.0 and 5.1.1. On most pages the view_state is very large but it does appear to change page by page.The MS SEO tool flags violations for just about every page however - check the view_state on my dnn 05.01.00 (773) homepage at http://padworth.livecommunities.co.uk, it is huge and definitley comes before the content. The view_state on my dnn 4.9.0 site (http:///padworthparish.org.uk) is also large and flagged as a violation, but not as large as the 5.1.1 site. I picked a DNN showcase site at random and ran the tool (http://www.prasystem.com/) to check it wasnt just my sites, and it flags violations for every page. What is the "normal" length for a view_state?

Paul

New Post
10/3/2009 3:17 AM
 

Paul,

an excessive view state may significantly affect page performance, we once had a client with a very slow page. it turned out, that he applied an aggregator module wich increased his page size to more than 1 MB with more than half being view state.

Regarding view state, I suggest to read here and here. In summary, from my experience, most module developers do not optimize view state of their modules, adding Enableview_state="false" to all controls, which don't need it. try to tweak aspx of typical modules on your page and compare performance and view_state size.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German DotNetNuke User-Group   European Network of DotNetNuke Professionals

Attend the European Day of DotNetNuke - 28-05-2010 at Paris!
Previous
 
Next
DotNetNuke ForumDotNetNuke ForumOur CommunityOur CommunityGeneral Discuss...General Discuss...New Microsft SEO tool says "The ASP.NET view_state is too long"New Microsft SEO tool says "The ASP.NET view_state is too long"

Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Networks

Follow DNNCorp on Twitter

LinkedIn

Follow us on Twitter @DNNCorp or join the DotNetNuke Community on LinkedIn

Sponsors

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP