DNN Performance Optmization

DNN
Site performance can effect your SEO Rankings, User Perception of your site/business, and possibly your profits. So, it is a good idea to optimize your site so it will perform smoothly. This article will provide several steps you can take to optimize performance inside DNN.
 
Important Notes:
  • DNN does not need a huge amount of resources, it just needs resources that are stable.
  • Prior to DNN 7.x more changes will need to be made to optimize the site.
  • Post DNN 7.x, a lot of the performance settings are configured by default
 
DNN Settings:
 
DNN 8.x & Below
 
The settings below can be found in Host>Host Settings
 
  1. In Basic Settings>Appearance disable Show Copyright Credits. This setting normally shows information about DNN Copyright on each page, this is just additional information that does not need to be loaded, and can technically be a security risk by indirectly displaying your version of DNN.
  2. In Advanced Settings>Performance Settings Change Module Cache Provider to Memory. Additionally, change Cache Setting to Heavy. The Module Cache Provider change will make it so cache is stored in memory which is faster than the File option. Heavy caching will cache heavily cache static resources to make your pages load faster
  3. In Advanced Settings>Client Resource Management. Enable Composite Files, Minify CSS, and Minify JS. These settings will compile all your site's CSS & JS into one file for your site to load. THIS SETTING CAN BREAK POORLY OPTIMIZED THIRD PARTY MODULES/SKINS, KEEP THIS DISABLED IF YOUR SITE BREAKS!!
  4. In Other Settings enable Event Log Buffer. This setting will make event logs store in memory, and write to the database at a later time. This will prevent frequent writes to the database.
  5. In Other Settings disable Auto-Sync File System. THIS SETTING IS ONLY IF YOU DO NOT USE FTP TO UPLOAD FILES!!!! 
DNN 9.x & Above
 
The settings below can be found in Settings>Servers>Server Settings>Performance
 
  1. Change Module Cache Provider & Page Output Cache Provider to Memory. Additionally, change Cache Setting to Heavy. The Module Cache Provider change will make it so cache is stored in memory which is faster than the File option. Heavy caching will cache heavily cache static resources to make your pages load faster
  2. Enable Composite Files, Minify CSS, and Minify JS. These settings will compile all your site's CSS & JS into one file for your site to load. THIS SETTING CAN BREAK POORLY OPTIMIZED THIRD PARTY MODULES/SKINS, KEEP THIS DISABLED IF YOUR SITE BREAKS!!
  3. Some of the features not mentioned for DNN 9 are configurable through the database. If you are interested in changing these, feel free to ask the Managed.com Support team for assistance. 
Scheduled Tasks
 
In ALL versions of DNN it is very important to configure the DNN Scheduler properly. 
 
DNN 8.x & Below
  1. In Host>Schedule. Change the Scheduler Mode to Timer Method. (Set by default in later versions)
  2. It is also important to view any 3rd party module scheduled tasks to look out for high-frequency intervals or retry times.
DNN 9 & Above
  1. In Settings>Scheduler. Change Scheduler Mode to Timer Method. (Set by default) You can make this change by clicking the Edit Pencil at the top of the page.
  2. It is also important to view any 3rd party module scheduled tasks to look out for high-frequency intervals or retry times

Add Feedback