DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Best Practices for Optimizing DNN Performance

 4 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 0
New Around Here

I’m managing a DNN (DotNetNuke) site and looking for the best ways to optimize its performance. I’ve noticed some slow page loads and occasional lag, especially with more complex modules.

What are your go-to optimizations for improving DNN performance? Some areas I’d love to get insights on:

  • Caching strategies
  • Database optimization
  • Minimizing resource-heavy modules
  • Best hosting environments for DNN
Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

Hi Oliver

As you mention that perfomance issues happen only on certain pages, first suspect would not be the hosting company. 
That said: in my opinion, DNN handles larger websites and/or with substantial traffic pretty well.
If you have a website with hundreds of portals or a database with millions of records, that's where you need to check out caching.

From that point on: bottleneck analysis. Any intel on the network tab in chrome? This would tell if it is due to images of 30MB or a API call with some external database or something internal. Or server monitoring, indicating that memory is just not enough?

 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Hello Oliver: 

When it's only some pages that are exhibiting performance issues, I'd suggest looking at the modules in use on those pages and determine what they do and what their dependencies are.  You may find that the module(s) have newer versions which may address some performance issues.  Upgrading can mitigate the problems. 

👆🏽 You should do this in the very least, including upgrading DNN if it's on an older version.  

In other cases, you may find that the module(s) in question may have a lot of older data that may be able to be archived and/or reindexed.  All of the standard .NET troubleshooting steps cn be done here.  

As for best practices, they can vary from site to site, but in general, I'd suggest the following: 

  • Upgrade DNN and all custom/third-party extensions on the site.  
  • Uninstall any extensions from DNN that you're not using. 
  • Ensure that any necessary database maintenance is occurring at an acceptable interval (including regularly rebuilding indexes).  
  • Archive any older log files.   
  • Ensure that the hosting environment has all necessary updates.  
  • Avoid shared hosting, but nearly any other hosting plan could be sufficient.  Newer versions of DNN can function quite well with minimal resources, except during installation and upgrade of DNN itself.  
  • If you have any custom modules, ensure they are reviewed and rebuilt using all of the most current dependencies.  (Including updating DNN dependencies to 9.11.0+ and any removed API endpoints.
  • In DNN itself, enable caching and ensure it's configured to use Heavy Caching.  Do not use memory caching if you're using any SPA modules/features. Page-level caching is better for these purposes.  
  • Deploy and configure a WAF in front of your site, such as CloudFlare.  
  • If your database and website are hosted from the same server, review the resources to be sure that you're not hitting the upper resource limits.  
Advanced Member
Posts: 178
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!

User is deleted because the IP address was listed as malicious. Topic is locked.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Well, we still got some good content out of it for the community.   😎

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved