This project is read-only.

BE needs a button to refresh the cache

Nov 3, 2010 at 8:31 AM


The admin section needs a button to refresh the cache on demand using  BlogEngine.Core.Post.Reload(). 

Nov 5, 2010 at 12:46 AM

I recommend this

Nov 5, 2010 at 2:27 AM

Post.Reload() will reload all the posts, but none of the other data that is stored/cached in memory.

One thing that is available today, and is basically the "button" you are looking for, is to go to the Extensions tab, and disable, then reenable an extension.  When you do this, BE restarts the application by updating the timestamp on the web.config file.  When this happens, ALL data cached in memory (posts, categories, pages, etc) gets cleared out ... and then re-read from the data store the next time the data is requested.

This is actually a more comprehensive way to reset all data.

Mar 21, 2011 at 4:30 PM

I still think an actual BUTTON would be very helpful.

I'm deploying BlogEngine for a client, and their admins are not very technical.  I think I could explain the button a lot better than I could explain the Extensions tab workaround.

Mar 21, 2011 at 5:57 PM

This might be helpful

Mar 21, 2011 at 6:39 PM
Andy_McKay wrote:

This might be helpful


In Lieu of a built-in feature, that does help, thank you.