Copied to clipboard

Flag this post as spam?

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


  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 08:53
    Jeff
    0

    Umbraco Content caching on site

    Hi,

    I have recently made a change to my hosted Umbraco site via the Content section. I checked and the change was visible on the live site. When I was checking something else this morning I noticed that the changed had reverted on the website but was still updated on the Content section.

    Has anyone else come across this and know what could be causing it?

    Thanks, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 09:05
    Alex Skrypnyk
    0

    Hi Jeff,

    Really strange problem, are you using some sort of cache? Are you using Cloud Flare ?

    Cheers

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 09:10
    Jeff
    0

    Hi Alex,

    We haven't added any extra caching to the site, I was wonder if it could possible be caching on the web server as it does appear to be correct in the backend of the site.

    Regards, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 09:16
    Alex Skrypnyk
    0

    No, in backend data is coming from db. In frontend can be from frontend, what will happen if you republish all site?

    Regards, Alex

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 09:39
    Jeff
    0

    Hi Alex,

    Doing a website re-publish did temporarily solve this issue as the content updated but then reverted back afterwards, the next morning. This was on another site/server, we are unable to republish the new site at the moment due to some ongoing work.

    Regards, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 09:55
    Alex Skrypnyk
    0

    Can you check your app_data/umbraco.config file, it used for frontend data caching? Was it changed during day? Maybe this file was reverted.

    Regards, Alex

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 10:27
    Jeff
    0

    Hi Alex,

    I have checked the file on the live server and the file is showing the old content with a last updated date that would sound about right for before the site was deployed live. I have republished that single page and the new content shows on the site, however the umbraco.config file hasn't updated (not sure if this happens in real time as I only made the changes in the last couple of minutes). Do you have any suggestions for why this file might not be updating?

    Regards, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 10:48
    Alex Skrypnyk
    0

    Jeff. this file should be updated after republish. If it doesn't maybe your site hasn't write access to it.

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 11:10
    Jeff
    0

    Hi Alex,

    Thank you for your help, do you know what permissions are needed on this file (and if any other files need these)? Would they just be set on file by right clicking and selecting properties?

    Thanks, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 11:49
    Alex Skrypnyk
    0

    Hi Jeff,

    Umbraco need these permissions - https://our.umbraco.org/wiki/reference/files-and-folders/permissions/

    Yes, you can change permissions by right clicking on file or folder.

    Cheers

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 12:30
    Jeff
    0

    Hi Alex,

    Do you know what permissions are required on this file? Is it just write?

    Thanks, Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 12:30
    Alex Skrypnyk
    100

    Read and write.

    Thanks

  • Jeff 74 posts 346 karma points
    May 18, 2016 @ 12:32
    Jeff
    0

    Thank you, I will give that a go.

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 18, 2016 @ 12:42
    Alex Skrypnyk
    0

    You are welcome, write if it will help or not.

  • Jeff 74 posts 346 karma points
    May 19, 2016 @ 10:41
    Jeff
    1

    Hi Alex,

    That seems to have solved the problem.

    Thank you for your help with this!

    Jeff

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    May 19, 2016 @ 10:47
    Alex Skrypnyk
    0

    Cool, I'm glad that can help.

Please Sign in or register to post replies

Write your reply to:

Draft