This project is read-only.

Deleted posts showing in RSS feed

Topics: ASP.NET 2.0
Jun 30, 2009 at 10: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 problem, an ASP.NET problem or something I am doing wrong?

Jun 30, 2009 at 11: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

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.