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...Reduce page size in ASPReduce page size in ASP
Previous
 
Next
New Post
3/6/2007 2:57 PM
 

Jelle:

I wouldn't call the pages generated by DNN "massive" but that is just my opinion.  I crunched some numbers on page sizes, etc. for the main page of some sites.  As you can see below, the CollegeParkJudo site is only 13KB, that in my opinion is not a heavy page, with compression it goes down to 5KB that needs to go over the wire.

 microsoft.com
  Original size:  40979 bytes
  Size if compressed:  8769 bytes
  Transfer speed improvement:  4.6 X

 dotnetnuke.com
  Original size:  73257 bytes
  Size if compressed:  14832 bytes
   Transfer speed improvement:  4.9 X

 collegeparkjudo.org
  Original size:  12609 bytes
  Compressed Size:  5357 bytes
  Transfer speed improvement:  2.3 X

 The thing with compression is that it just works, no need to mess with anything else.  Because of the nature of ASP.Net, not necessarily DNN, there are areas that out of your control.  But, if the site performs well (specially with 4.4.1) why bother with HTML optimization, which is a pain to maintain.  I rather go for simplicity of maintenance but that is just me.

Carlos

 

 

 
New Post
6/24/2007 3:36 PM
 

Hi Carlos,

I think I have now understood an easy solution to generate tidy html as well! I guess Mitchel Sellers also tried to explain me, but the coin did not drop...now it does. No compression needed! I think it should even be in the DNN programmers guidelines since this really works out perfectly. I was used to put a server control from the designer toolbox and drag that into my form. However, this has a considerable performance penalty since ids are generated (which are sometimes longer thatn the actual html) and server controls are processed server side on a postback, although they only visualize data is some cases.

 

By avoiding server controls to a large extend I get a considerable performance boost!  It is also recommended by MS and I strongly recommend to put it in the general DNN programmer's manual since most modules use server controls everywhere. This makes every page to be processed at the server, but also gives large html pages.

 

The only thing I am struggling with: how can I allow VS2005 to validate the code between <%= %> tags in an ascx control? I believed in the app-code setup this is done automatically, but how to switch it on for web project style in VS2005?

Any help is appreciated.

 

 

Jelle

 

 

 <a href="<%# ProductUrl(Container.DataItem) %>"></a> instead of asp:hyperlink.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Reduce page size in ASPReduce page size in ASP


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