Forums / Developer / publish objects from script without cache clear / Comment64875
Bertrand Dunogier
Friday 07 January 2011 3:00:34 am
The stuff in this thread is really cool !
Being able to disable parts of an operation is actually one of our plans for the Asynchronous publishing feature. The goal is partially implement the ezpContentPublishingStategy concept introduced when presenting the future PHP API skeletons. The default strategy would run everything, while custom strategies could be created, and set as the default one in order to skip some operation methods.
Chances are big that i'll work on that today, I'll let you know.
Also note that Asynchronous publishing should make import MUCH faster as well... the content/publish operation executed in the script will be asynchronous, and will be actually executed by the daemon. If you don't need your items details (you can still use the content object ids, etc, but the object might not be published), it should make imports much faster.
Bertrand Dunogier eZ Systems Engineering, Lyon http://twitter.com/bdunogier http://gplus.to/BertrandDunogier