Register   Login
     
  Latest Posts  
Select Image Button does not work.
by rtnovak on 1/08/2009 6:37 AM
Lightbox implementation
by max2o on 1/08/2009 6:16 AM
RE: Toolbar links at the top of the articles module
by smcculloch on 1/08/2009 5:52 AM
Toolbar links at the top of the articles module
by wassis on 1/08/2009 5:42 AM
RE: PA Features & Enhancements
by smcculloch on 1/08/2009 4:33 AM
RE: PA Features & Enhancements
by georgelew on 1/08/2009 4:28 AM
RE: Search Wildcard Problem!
by smcculloch on 1/08/2009 4:24 AM
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
  Forums  
Subject: Site Optimization
Prev Next
You are not authorized to post a reply.

Author Messages
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/18/2006 10:48 PM  

I notice that if I have not accessed my site for a while (it's still under development), it takes a bit of time to load. Similar to that of .NET is recompiling the code. Now I am using DNN 4.3.4 (install version), so everything has been already complied for the most part.  I notice when I visit here, it pops right up without delay. What type of suggestions do you have for tweaking the site for optimal performance?

All suggestions welcome!

Thanks!

 


--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
colin robsonUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:7


9/19/2006 12:58 AM  
i'm sure i've come across a module called "keep alive" or something that basically solves your problem....

but if you've done good seo optimization there'll be people visiting all the time anyway

kolin
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


9/19/2006 6:53 AM  
Lots of factors effect site optimization.

Some key areas to look at:-

* Server Performance (Both Processing Time & Network Bandwidth) -> Page Generated Skin Object is OK for this.

* Cache what you can, most static content and link content can have there content cached.

* Use something like www.host-tracker.com to keep your site alive.

Scott McCulloch
Site Administrator
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/19/2006 7:36 AM  
Posted By smcculloch on 9/19/2006 6:53 AM
Lots of factors effect site optimization.

Some key areas to look at:-

* Server Performance (Both Processing Time & Network Bandwidth) -> Page Generated Skin Object is OK for this.

* Cache what you can, most static content and link content can have there content cached.

* Use something like www.host-tracker.com to keep your site alive.



1. For the First Item, I know I'm on a restricted bandwidth, as I run my sites over my DSL connection, but this also happends when I access it from inside my network.  Is this a tweak to IIS, or the Applicaiton pool, or is there a setting within DNN for this?

2. Looks like I will have to revisit all the pages & modules and set the cache value. I did notice that some were set to 0. Any suggestions on  a reasonable cache value for static content (For which this first of 5 sites is).

3. I'll look into it. By keeping the site alive, does that keep the cache current?

Thanks for your feedback.


--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


9/20/2006 5:14 AM  
1. Hmm, DSL is not the best for hosting I think. That could be part of your limitation. Not sure what you are asking about a tweak to IIS, the page generated is a skin object you can add to your skin that tells you how long a page takes to generate.

3. Yes.

Scott McCulloch
Site Administrator
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/20/2006 5:50 AM  
Scott,
3 of my sites are Non-Profit sites and I foot the expense of hosting them. So I host them on my server over my DSL. I know I don't get top speed but it serves it purpose, and I never recoup what I put into it outside of a "Job Well Done" and once a small donation toward some equipment that I had to replace. The other 2 sites are my & my wifes pesonal sites. This also allows me to have full control over everything from IIS to what software runs on the server.

Is the page generated object part of the default skins? Or is is a module that needs to be added. I'm still crawling around getting the feel for DNN.

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


9/21/2006 6:57 AM  
Page generated is a skin object available on this site. You can install it, then added that token to your skins to make it appear.

Scott McCulloch
Site Administrator
Kevin RimlingerUser is Offline
Registered Users

Posts:50


9/21/2006 7:21 AM  
I may get the facts about what is happening wrong but the solution should work.

My understanding that if the asp.net application pool is not accessed for about 20 minutes then the pool resets. The next time someone accesses the site the pool has to start up again which can take 20-30 seconds, then the site shows up. (You can do search of the DNN support forum to get more accurate info about this.)

Anyway, the solution is to have something access your site more frequently then every 20 minutes. The suggestion in the forum was to use the free Watchdog service by Master.com. After you sign up for this free service you point the watchdog at keepalive.aspx. Watchdog will ping the file every 15 minutes. This provides 2 benefits for DNN. 1. Your application pool stays active. 2. Watchdog can be configured to email you (or your pager) if your site is down.

By pinging keepalive.aspx you don't use a lot of bandwidth and keepalive.aspx is configured to ignored by the DNN site log for logging purposes.

http://www.homeofficeblues.com
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/21/2006 7:31 AM  
Thanks to Both of you, I will surely check both of these options out.

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Mariette KnapUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:650


9/21/2006 10:09 AM  
You can install your site in the Global Assembly Cache (Gac). That will speed up the first start by at least 50%


Subscribe for great articles and howtos. Get unlimited access to all content.
Mariëtte Knap
www.smallbizserver.net
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/21/2006 11:48 AM  
Where do I obtain a Gac?

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Mariette KnapUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:650


9/21/2006 1:27 PM  

You have it in your .Net folder. If you run 64 bit it is here: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727. You need to run ngen install "path to dll".

Example: ngen install d:\smallbizserver.net\bin\DotNetNuke.dll

 



Subscribe for great articles and howtos. Get unlimited access to all content.
Mariëtte Knap
www.smallbizserver.net
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/21/2006 7:07 PM  
Thanks for the Tip. I have performed the steps as instructed. Now only time will tell if performance is improved.

Thanks again.

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12800


9/21/2006 9:41 PM  
50%? I didn't know that, thanks for sharing..

Scott McCulloch
Site Administrator
Mariette KnapUser is Offline
Registered Users
Nuke Master
Nuke Master
Posts:650


9/23/2006 1:46 AM  
You need to run ngen for every dll in the bin folder.


Subscribe for great articles and howtos. Get unlimited access to all content.
Mariëtte Knap
www.smallbizserver.net
GaryUser is Offline
Silver Membership
Nuke Addict
Nuke Addict
Posts:66

9/23/2006 11:26 AM  

Mariette,

I have a few questions about GAC.

Can I have different DNN installs, like 1 default and 1 custom build, and install the assembly's for both of those into the GAC?

Does the Asp.net 2 (DotNetNuke) application still check the bin folder for dll's and use the dll their first before using the one in the GAC?

There was an excellent whitepaper that the guys on flatburger wrote about the .net 1.1 framework and the global assembly cache. I was really hoping to see a .net 2 version as there are probably alot of differences in the way the GAC works.

Thanks


Gary
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/23/2006 3:16 PM  
Do you need to run ngen each time you update a DLL?

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
GaryUser is Offline
Silver Membership
Nuke Addict
Nuke Addict
Posts:66

9/25/2006 9:13 PM  

Yes, but you would use the update rather than install command for your updated dll's.

ngen update d:\smallbizserver.net\bin\DotNetNuke.dll

Other option is to use uninstall command, than perform your site or module upgrade, and install command for the new dll's.

ngen uninstall d:\smallbizserver.net\bin\DotNetNuke.dll

perform your upgrade

ngen install d:\smallbizserver.net\bin\DotNetNuke.dll


Gary
Steve TopilnyckyUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:175


9/25/2006 9:31 PM  
That is simple enough to do via a batch file, at least in my case where I have physical access to the server.

--
Regards,
Steve Topilnycky
Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester
You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > Site Optimization



ActiveForums 3.7