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.
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?
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
is working on a reply...