Copied to clipboard

Flag this post as spam?

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


  • Anders Brohus 194 posts 475 karma points
    Jul 06, 2020 @ 12:43
    Anders Brohus
    0

    ContentService does not "refresh" caches

    Hi Our :)

    I'm currently in progress of extending the save event on a specific document type and it works quite well :)

    But i have a problem, because the caches is not getting refreshed, so when i run my service which should update the info on the nodes i'll end up with an new node because my if statement returns false, but if i refresh the caches by myself in the "Publish Status" or in by saving the specific node my if statement returns true ..

    Funny enough after the first run of my update service i does not create anymore new nodes.

    Any ideas?

  • David Armitage 510 posts 2081 karma points
    Aug 04, 2020 @ 12:47
    David Armitage
    0

    Hi,

    Are you sure its the save event that you want? If you are wanting to clear the cache maybe its the publishing/published event.

    My guess is the old data will still be cached until the content node changes have been published.

    Regards

    David

Please Sign in or register to post replies

Write your reply to:

Draft