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 10:50 AM
 

Hi,

ASP and DNN have quite a large page size, mainly due to all the id's. Is there not a setting or whatever so you can render without all those id's? If I use a placeholder or literal I can past my own html into the page and then it is quite need and without control id's. But there must be a smarter way. On the Microsoft website you also do not see any id's and the pages look very small.

Do you have an idea how to achieve this?

J.

 
New Post
3/6/2007 11:30 AM
 

Everything with a "runat="server"" designation will have a longer id as ASP.NET ensures that the contol id is unique to the page. therefore appending each naming containers name to the id....thus making for the long names...

AFAIK there is no way to fix this as a core item in DNN as it would be an entire rewrite to not use server controls, and personally I don't think it is really needed.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
3/6/2007 12:56 PM
 

Jelle:

The best solution for the page size issue is to use HTTP compression, preferably done at the IIS level (for all file types).  If IIS compression is not possible (ie, you use a host that does not do it for you) you can try the DNN built-in compression but that can get tricky.

You can use an on-line tool from www.port80software.com to see the gains of compression, check this site I manage for as an example www.collegeparkjudo.org.

Carlos

 

 
New Post
3/6/2007 2:34 PM
 
Thank you for your replies. I understand that compression will help. But I do not understand why first generate a lot of code, and then compress it. I am a bit reluctant to believe this is the solution....I believe it is much smarter not to generate massive code at start. I see many PHP websites having very nice clean code. On the contrary ASP generates a lot of id's etc. It even look that MS is able to generate in a smarter way code: www.microsoft.com since it is also does not contain redundant id's etc. How do they do this? HtmlRendering?
 
New Post
3/6/2007 2:55 PM
 

Jelle Ossewaarde wrote
Thank you for your replies. I understand that compression will help. But I do not understand why first generate a lot of code, and then compress it. I am a bit reluctant to believe this is the solution....I believe it is much smarter not to generate massive code at start. I see many PHP websites having very nice clean code. On the contrary ASP generates a lot of id's etc. It even look that MS is able to generate in a smarter way code: www.microsoft.com since it is also does not contain redundant id's etc. How do they do this? HtmlRendering?

As I explained above, in ASP.NET coding if they have normal id's they are either NOT contained wtihin a namingcontainer object.  Or they are NOT set as server side controls!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
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