Steve Topilnycky Gold Membership
 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 robson Registered Users
 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 McCulloch Administrators
 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 Topilnycky Gold Membership
 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 McCulloch Administrators
 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 Topilnycky Gold Membership
 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 McCulloch Administrators
 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 Rimlinger 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 Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|
Mariette Knap Registered Users
 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% |
|
Mariëtte Knap www.smallbizserver.net |
|
|
Steve Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|
Mariette Knap Registered Users
 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
|
|
Mariëtte Knap www.smallbizserver.net |
|
|
Steve Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12800


 |
| 9/21/2006 9:41 PM |
|
| 50%? I didn't know that, thanks for sharing.. |
|
Scott McCulloch Site Administrator |
|
|
Mariette Knap Registered Users
 Nuke Master Posts:650


 |
| 9/23/2006 1:46 AM |
|
| You need to run ngen for every dll in the bin folder. |
|
Mariëtte Knap www.smallbizserver.net |
|
|
Gary Silver Membership
 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 Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|
Gary Silver Membership
 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 Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|