Products

Solutions

Learn More

Partners

Community

Blog

About

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...Performance and...Performance and...Caching for better performance and loadCaching for better performance and load
Previous
 
Next
New Post
2/22/2017 9:53 AM
 

Cache in dnn can be done in memory , Data base and Memory that i have read Memory Cache is the best . dnn implement Cache in page level and module level

now i have some question in mind :

1- if page output cache is enabled and set to 1800 sec , and one module in page set output cache to 1200 sec , which one has Priority ?

2- if out put cache for page that has query string is enabled , pages show same data for all query . 

 for example : http://abc.com/page/ should be cached but http://abc.com/page/Queryone/Querytwo ( or other ) should not be cached .

how it implemented in dnn?

3- i am using dnn 9.0.1 . i think that cache working better in dnn8 . in new dnn cpu load is high and query SQL with all Request . how can i found what is going wrong and why dnn query database with each request ?

 
New Post
2/22/2017 2:53 PM
 
Moslem,
please be aware there are multiple caches in DNN:
- the object cache in DNN API caches data retrieved from the database in memory. cache level means cache duration here.
- the output cache caches output html from modules or whole pages and should be used only for output, which is same for all users or varies very little. Page output cache will override module cache.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/22/2017 6:21 PM
 

- I have enabled page output cache in memory but i think that again data are fetch from database. how can i know that output is cached or fetch from database ?

 

i see this error in log file :

2017-02-22 00:15:50,446 [WIN-MA182KN2LA7][Thread:30][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.

   at DotNetNuke.UI.Modules.ModuleHost.TryLoadCached()

 
New Post
2/23/2017 1:33 AM
 
if you would like to check database queries, use SQL Server profiler.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Caching for better performance and loadCaching for better performance and load


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW