Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Some performance numbers about your webfarmSome performance numbers about your webfarm
Previous
 
Next
New Post
11/8/2010 6:00 AM
 
Thomas, AFAIR Cathal was referring to admin options for improving performance. Of course, suppressing viewstate for all controls, which don't need it, will increase performance, but this needs to be done by the developers (and AFAIK DNN Corp. has this task on its agenda for the next versions). Since most of the UI derives from modules, this is an educational subject for module developers and a valid criteria for site administrators, when selecting modules to be used.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/8/2010 6:06 AM
 
@Thomas:

I totally agree. The first thing I deal with when optimizing a DNN site is to look at the size of the ViewState. If it's more than a few kilobytes it's going to be a problem. Processing ViewState is a complex operation. It's serialized,  encrypted and transferred with every request, postback and ASP.NET supported ajax callback. Optimizing jpegs is a waste of time with an elephant ViewState. Sometimes you can disable the ViewState for certain panes or controls by manipulating the skin-page. Otherwise you will need to throw out the modules with the worst impact and replace them with modules written by competent programmers.

The purpose of the ViewState is to save state information that is tied to the rendering of the view. All web frameworks do this by using hidden fields filled with state data. But since ASP.NET has made this so easy, many developers use the ViewState as a data cache. If the information can be recreated at the server side there is no need to put it in the viewstate. Instead the developer could use logic,  the application cache or the database to recreate the data. The ViewState is not designed to be a data cache.

When working with the ViewState it is important to be anonymous or logged in as a regular user, because the cancerous Telerik infested control panel  is totally out of control, ViewState wise.  
 
New Post
11/8/2010 6:26 AM
 
Lars Tungen wrote:
When working with the ViewState it is important to be anonymous or logged in as a regular user, because the cancerous Telerik infested control panel  is totally out of control, ViewState wise.  

 Lars, have you tried free Advanced Control Panel from www.oliverhine.com?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/8/2010 6:35 AM
 
@Sebastian

I have just started the transition from the "brilliant, fast, production ready and rock bottom solid 4.9.5 version" to the "unstable 5.x alpha crap series born from too much time and funding on our hands, lets start crapping out all features we can think of and see what happens when we don't fix bugs version"  and haven't had the chance to test it out just yet. But I am certainly going to.
 
New Post
11/8/2010 6:58 AM
 
Thomas,
the setting you refer to is under the host settings->advanced settings->performance settings section. You can choose for page state (viewstate) to be stored in the page (the default) or memory - the majority of the other cms's use a memory model (except those using MVC), but it can be an issue in resource-constrained environments such as shared hosting where there is only limited RAM.

Please note, the user experience team has been examining overhauling areas of UI fixing poor markup (e.g. unnecessary BR tags) and will be looking to disable unnecessary viewstate as part of that by removing unnecessary server controls (though to get true granular control of viewstate asp.net 4.0 is required).

Thank,
Cathal

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Some performance numbers about your webfarmSome performance numbers about your webfarm


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out