[opencms-dev] publish directly

Alexander Kandzior alex at opencms.org
Fri Nov 26 16:12:16 CET 2004


> >>what is "Publish directly" supposed to do ? I have set 
> >>static export 
> >>"after publish", and when I do "publish directly"
> >>on only single file, ALL exportable files get staticaly exported in 
> >>that moment, which takes veeeeerrrry long time.
> >>
> >>Is this the proper behavior ?

> > Yes. The issue is that even if you change just one single 
> > file, this 
> > file may have been referenced by number of other pages, e.g. in the 
> > navigation, as included element etc. So each page is checked if it 
> > contains a reference to the published file, which can take 
> > a long time.
> 
> But it exports files from all sites. I think that sites have 
> separated contents, so only the same site should get 
> exported, shouldn't it ?

Sounds like this could be an optimization. Note that in case you use
siblings, these could be shared between sites. However this may be easy
enough to track. 

I would recommend a full static export only for sites that are running
without an OpenCms system "behind" them. If you have a live OpenCms
available, static export "on demand" is the way to go...

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 




More information about the opencms-dev mailing list