If you right click on the root node and select "Publish", you'll get a dialog where you can choose to publish that page and all of it's child pages.
"Republish entire site" doesn't actualy republish your nodes, I beleive it just updates the memory cache with the contents of the umbraco.config file. To force a publish, just use the process I outlined above.
ps, this may take a while if you have a lot of nodes. If it's just a specific section you want to republish, you might be better off just publishing from the containing parent node instead.
I'm not aware of anything out of the box that could publish all root nodes in one go, but I guess if it's an ongoing problem for you, you could use the umbraco API to programaticaly republish everything.
What is the reason for needing to clear the cache? Maybe there is some other underlying issue?
We have the same issue, but we have over 100 root site nodes that we need to republish (including Children) - API is fine for us, so if we get some useful code I'll try and push it up!
Full publish of content tree
Hi
Sometimes(Would say everytime) Umbraco wont clear the cache if I just use "Republish entire site" from the root-nede.
Instead I have to publish next-level nodes individual, including sub-pages.
Are there any way to trick a "real", complete republish, maybe by calling an URL?
/Thomas
Hi Thomas,
If you right click on the root node and select "Publish", you'll get a dialog where you can choose to publish that page and all of it's child pages.
"Republish entire site" doesn't actualy republish your nodes, I beleive it just updates the memory cache with the contents of the umbraco.config file. To force a publish, just use the process I outlined above.
Matt
ps, this may take a while if you have a lot of nodes. If it's just a specific section you want to republish, you might be better off just publishing from the containing parent node instead.
Matt
Hi
Well, that is actually the problem :-(
I have a lot of "root-nodes", like 10 or so, that I would like to have published in one command.
I takes quite a while, so would be great if I could just start the "publish-service" and go get Coffe :-)
/Thomas
I'm not aware of anything out of the box that could publish all root nodes in one go, but I guess if it's an ongoing problem for you, you could use the umbraco API to programaticaly republish everything.
What is the reason for needing to clear the cache? Maybe there is some other underlying issue?
Matt
Well, it is actually because we do a lot of full-deployments, including the XML-cache.
And when the content is different, we get some errors - it would be great if we could just get a complete new XML-cache.
Don't think we have the time to write our own :-)
/Thomas
We have the same issue, but we have over 100 root site nodes that we need to republish (including Children) - API is fine for us, so if we get some useful code I'll try and push it up!
I would like to see any code you have!
We ended up not deleting the umbraco.config file on the nodes, so we could skip the republish step most of the times.
is working on a reply...