Cannot set Output Cache Provider to None

Overview

When trying to change the output cache provider to None, it will always revert the Portal Setting Output Cache Setting. This article will depict how to resolve setting output cache provider in a module.

 

Prerequisites

 

Diagnosis

Announcements_module_cache_settings.PNG

Based on the warning message in the module's settings > page settings > cache settings, you will need to set the Output Cache Provider setting to none. When you do select the none setting, DNN will use the default Output Cache Provider setting set for the entire Portal. 

 

Solution

To workaround this, you will need to:

  1. Go to the Module Settings > Page Settings > Cache Settings
  2. Do not change the Output Cache Provider.
  3. Change the Cache Duration (seconds) to 0. 
  4. Click Save.

By setting the cache duration to 0, you are essentially setting the cache provider to None.

2020-07-24_14-43-04.png

Testing

To test that this change has been applied, make any content update to the module to see if the module is displaying stale data.

Comments

0 comments

Please sign in to leave a comment.