MyLifeBBS

The world with no boundaries

  • Home
  • Google Apps
  • DotNetNuke
  • Things in The Internet
  • SEO
  • Contact Me
  • PostsComments

Improve your DotNetNuke SEO Performance by knowing Long ASP.NET View State Issue in DNN.

October 3, 2009 by George

Recently Microsoft released its series of IIS administration tools. Finally, there’s a Search Engine Optimization Tool that best analyze ASP.NET website. Who else is better understand the limitation and problems in ASP.NET than itself? Not saying than Asp.net is not good, other framework has their own problems as well and have a lot of analysis tools since long time ago.

I haven’t test it much since it only support IIS7, It means you have to have it running on Vista or Windows Server 2008. What a shame? Anyway, it’s best if you can analyze your DotNetNuke problem before going to a live server especially if you’re on a shared server where you can test anything on the server side.

Most of the DotNetNuke users will have a long view_state problem if there is more than 5 different modules on the same page and probably get the warning message if you run the SEO Toolkit.

While past argument was that Search Engine Crawlers do not read them, it still have a great impact on your DotNetNuke Website Performance because the long view_state of DNN takes an average of 50Kb extra weight for crawler to download the page before indexing it.

If you have more than hundreds of pages with a lot of modules in it, most likely the crawler stomach will be fully filled after going for hundred of pages. There’s a quota of how many pages and the total of bytes to download every time a robot visit your website. Not only that it will affect the speed of indexing, it takes a lot of bandwidth from your server which is a impact if you are putting your DNN in a low cost shared server.

In summary, from my experience, most module developers do not optimize view state of their modules… — Sebastian Leupold, DNN Core Team Member

There are 2 methods to solve this problem and the common one will be moving the view state to the page bottom. This does help little on the page rendering while a page is loaded but it won’t help much in Internet Explorer as it will always load and render the whole page before showing the content to the reader.

Thus, another method is simply store the view state in the memory. You can do that by going to the DNN Host Setting Panel and look for Page State Persistence > Memory. However, doing so will make few core and third parties modules stop working due to the poor managed view state storing. (Most probably the first thing to break is AJAX Modules)

If you’re running DNN 5 and there is not “Page State Persistence” Setting in the Hosting Setting, Weird huh? You can add it back by running the following SQL statement in Host > SQL

Turn it on--
   UPDATE HostSettings SET SettingValue = 'M' WHERE SettingName = 'PageStatePersister'
Turn it off--
   UPDATE HostSettings SET SettingValue = 'P' WHERE SettingName = 'PageStatePersister'
Then click the "Restart Application" link button.

If you wish to know why is it removed since DNN5 and added back, you can dig it from here: Removing DNN 5 Page State Persistence Setting and PageStatePersistence: Setting gone, but functionality remains.

Let’s download the Microsoft SEO Toolkit and give it a try. If you’re wondering how to move the DNN view_state to bottom, you can try Snapsis PageBlaster but moving the view_state to bottom may still affect some modules, be sure to check the capability before going for it.

Filed Under: DotNetNuke

Trackbacks

  1. Guide to implement re-Captcha in DotNetNuke Modules without … | DNN Blog says:
    April 27, 2010 at 1:30 am

    […] Improve your DotNetNuke SEO Performance by knowing Long ASP.NET View State Issue in DNN. […]

Recommended DNN Modules

SiteGround Hosting Fast and Reliable WordPress hosting that we recommend.
XMOD Pro is a very good module to create complicated forms with external database writing. You could use it to build a simple module as well. The drawbacks like custom permission and filtering might be an issue though.
Ultra Video Gallery is a very advanced multimedia module which allows you to create a site near to YouTube. It allows you to convert video directly in the website, share it, comment, membership integration and so on.
Project Management Templates, This is not a DNN module but if you need to manage your works better, try the project management templates. It helps a lot.

Post Archives

Blogroll

  • Food Promotions in Kuala Lumpur GoEatOut Promotion Page

Recommended Sites

  • DNN Store is the best place to shop for DNN modules
  • Malaysia Food Guide Best place to find malaysia food promotions and place to eat.
  • Malaysia Public Holidays A site that list out all public holidays in Malaysia with lunar calendar too

Recent Comments

  • kenny on How to modify DNN 6 login module skin design – Quick Guide
  • michelle on Turn back On Windows 8 Wifi – 100% works
  • Oracle9 on Turn back On Windows 8 Wifi – 100% works
  • AK on Turn back On Windows 8 Wifi – 100% works
  • Customizing the DotNetNuke login page : Karl’s Place on DotNetNuke Customizing your Login – PART 3

About the Author

I'm the founder of InnoChannel Sdn Bhd. We're here to help people to market their business online and also a Google Apps Premier Partner in Malaysia who provides email consultation, setup, data migration and so on.

Copyright © 2023 · News Pro Theme on Genesis Framework · WordPress · Log in