Deleted posts showing in RSS feed

Topics: ASP.NET 2.0
Jun 30, 2009 at 9:50 PM

I deleted a post but I cannot get it out my RSS feed. I just noticed it a week after I deleted the post and I am really surprised it's still there. I tried clearing my browser cache but no luck. Is this a BlogEngine.net problem, an ASP.NET problem or something I am doing wrong?

Jun 30, 2009 at 10:52 PM

Well after trying about 20 different things with no luck, I found the solution here:

Force BlogEngine.Net to update its cache after an import
http://www.mcgeown.co.uk/BlogEngine/post/2008/05/09/Force-BlogEngineNet-to-update-its-cache-after-an-import.aspx

I added BlogEngine.Core.Post.Reload(); to the Page_Load function in default.aspx.cs. Then when I loaded the Blog home page and viewed/refreshed the RSS feed, the deleted post was finally gone.