Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • bh 408 posts 1395 karma points
    Feb 11, 2019 @ 15:58
    bh
    0

    I made a content change in Umbraco. When I preview it, I see the new content. When I publish those changes, I do not see the new content. This is the second time I've had this issue in as many days. Any ideas? It feels like a cacheing issue. Hard refreshing the page doesn't resolve the issue.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 11, 2019 @ 16:11
    Alex Skrypnyk
    0

    Hi

    It can be for some reasons in the code. Can you show how do you render the part that is causing the issue?

  • bh 408 posts 1395 karma points
    Feb 11, 2019 @ 16:13
    bh
    0
    @Model.GetPropertyValue("leadershipBio")
    

    I should note on a different not related to this page template...I'm doing this...

    @Html.CachedPartial("cmuCommunities", Model, 3600)
    

    Not sure if that's right with the "Model" like that. I'm doing that cached partial thing on several different places on my site.

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Feb 11, 2019 @ 17:02
    Dan Diplo
    0

    Do you want the content in the cached partial to be shared across multiple pages or be unique per page? If the latter than you want to use:

    @Html.CachedPartial("cmuCommunities", Model, 3600, cacheByPage: true)
    

    This ensures it's cached, but only for that particular page. Not sure if that is related to your issue, but worth noting.

  • bh 408 posts 1395 karma points
    Feb 11, 2019 @ 18:40
    bh
    0

    Good to know Dan thank you!

    It's been over an hour (more than the 3600 partial cache setting that i still don't know if that's impacting this) since my edit, and the edit is still not showing when you hard refresh the published page on the website.

  • bh 408 posts 1395 karma points
    Feb 12, 2019 @ 17:55
    bh
    0

    Any suggestions?! A day later, I'm still seeing the old content on the published webpage, but preview shows the right content.

  • bh 408 posts 1395 karma points
    Feb 12, 2019 @ 19:16
    bh
    0

    Umbraco.config is showing the old content. I deleted umbraco.config and published my page, and umbraco.config is still showing the old content (aka does not match what's in the umbraco back end).

  • bh 408 posts 1395 karma points
    Feb 12, 2019 @ 19:16
    bh
    101

    This worked. Not elegant, but it worked.

    https://www.mydomain.com/Umbraco/dialogs/republish.aspx?xml=true

Please Sign in or register to post replies

Write your reply to:

Draft