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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to reduce size to make load speed faster?How to reduce size to make load speed faster?
Previous
 
Next
New Post
11/19/2007 4:14 PM
 

I'm getting a lot of complaints about our DNN 4.7 site being slow. According to my PDA (which shows how much is loading in real time) the home page is almost 600k. The skin and graphics are less than 40k, so the rest seems to be DNN stuff.

I used IE to save the page with "webpage complete" and the total size such as  the file is almost 400k (I'm not sure why the 200k difference between saving and viewing). The folder it created contains some pretty big files such as ScriptResource.axd = 83k, spmenu.js = 67k, ScriptResource(1).axd = 29k, dnn.js = 29k. I set compression on it already, but that didn't make much difference in load time.

The site is hosted in-house and the database is on SQL Server 2005 and is very fast. Even internally, the site takes forever to load... so I'm not sure the problem is only the size.

Check it our for yourself at https://secure.gwnsecurities.com/advisor

Any suggestions on how to reduce the size to make it faster?

 
New Post
11/19/2007 7:13 PM
 

One thing I do is seperate the Admin CSS from the public styles.  John Mitchell outlines how here. 

I also empty the portal.css file (largely empty anyway) and leave the heavy loading to skin.css

Next, you could format the CSS with this tool to take out white space.

The biggest propblem however is the uncompressed code.  The AJAX library is 215K + 64K alone.  Try turning on compression for CSS and JS on in IIS.

 
New Post
11/19/2007 7:18 PM
 

lancelong wrote

The biggest problem however is the uncompressed code. 

My mistake, you seem to have compression on but it isn't working very well for the AJAX library.

 
New Post
11/20/2007 5:15 PM
 

Thank you VERY much lancelong!

I trashed all the css in both the default.css and portal.css files. The admin areas are kind of funky now, but the speed boost is awesome! I never would have thought CSS makes such a difference. I tried the code in John Mitchell's article with no luck. No big deal though.

The CSS optimizer tool is great too.

As for the compression... I set compression in DNN. You mentioned setting compression in IIS. Do they both do the same thing?

I found the following articles on technet to update compression. I can't find anything that says what files are recommended to be added to the compress list or how to tell what file types are currently in the list.

 Enabling HTTP Compression (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d52ff289-94d3-4085-bc4e-24eb4f312e0e.mspx?mfr=true

Customizing the File Types IIS Compresses (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d52ff289-94d3-4085-bc4e-24eb4f312e0e.mspx?mfr=true

 

 

 
New Post
11/20/2007 8:35 PM
 

By default IIS does not compress support files like JS and CSS.  I use Pageblaster for DNN files as I like the functions I can perform on the pages once built.  Neither will have an effect on JS and CSS however since both are served outside .net thus outside DNN.  They're all IIS business.

If you really want to get serious about page load speeds then go here: http://developer.yahoo.com/yslow/  (an FF firebug plugin) and watch this explaining it all http://developer.yahoo.net/blogs/theater/archives/2007/08/steve_souders_high_performance.html

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to reduce size to make load speed faster?How to reduce size to make load speed faster?


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