Monday, December 01, 2008 Login    Register

 


  Search Blog  
  Blog Listing  
  Blog Archive  
DNN Standard
  HOW TO: Clear the Cache in DotNetNuke (DNN)  
Location: BlogsThe Mighty Blog    
Posted by: Will Strohl 11/27/2007
Although for many of you, it may be very elementary as to how you would clear the cache in DotNetNuke (DNN), this is simply not the case for everyone out there. It is for this reason that I thought it would be a good idea to blog about it.

Although for many of you, it may be very elementary as to how you would clear the cache in DotNetNuke (DNN), this is simply not the case for everyone out there.  It is for this reason that I thought it would be a good idea to blog about it.

Clearing the cache should be done for only a few different reasons, as the cache will automatically update itself over time anyhow.  For instance, if you change the Host/Site/Tab/Module settings data manually in the database, your changes will not be reflected on the site until the cache is cleared and the data is renewed (cached again).

There a few different ways to do this:

  1. Open the Web.Config. Add a line break somewhere in a way that still allows the Web.Config file to be well-formed XML.  Save the file.
  2. Login as a "host" on the portal.  Go to the Host Settings page in the Host Menu.  Click the "Restart Application" link at the bottom of the Host Settings page.
  3. (Windows 2003 Server only) Right click on the Application Pool where your site resides, and choose "Recycle". (Please note that this will also recycle all other apps that are in the same Application Pool)

That's all there is to it!  Have fun!

Copyright ©2007 Will Strohl
Permalink |  Trackback

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
© Copyright 2004-2008 by Will Strohl. All rights reserved.