<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Arash/Christian,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Thanks for you replies. One of the problems we have with
our setup is that we have some shared content which gets loaded into multiple
pages. For example, a news item that gets incorporated into the home page, and
the press releases page. This means that our users only need to create the news
item once, but it also means that we need to export the home page and press
release page every time a news release is published (neither of which have
really been changed).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Looking at the AfterPublishHandler, we may have an ability
to code in something like "if publishList contains any files in /common/news/
then export the home page and news pages" to take case of our
specific dependencies.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial><FONT
color=#0000ff size=2>The OnDemandStaticExportHandler handler probably won't help
us too much as our process is to export the pages, and then ZIP them up and
transfer to a separate web server. As such, the pages are never actually
<EM>requested</EM> from the OpenCMS server; we simply expect them to be on the
filesystem.</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Thanks again for your prompt replies.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=404252619-15032006><FONT face=Arial
color=#0000ff size=2>Brett Beaumont</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Arash
Kaffamanesh<BR><B>Sent:</B> Thursday, 16 March 2006 12:33 a.m.<BR><B>To:</B>
'The OpenCms mailing list'<BR><B>Subject:</B> RE: [opencms-dev] Static Export
Speed in Version 6<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=766323111-15032006><FONT face=Arial color=#0000ff size=2>yes,
definitely, you can use the AfterPublishHandler and export only the new or
changed files.</FONT></SPAN></DIV>
<DIV><SPAN class=766323111-15032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=766323111-15032006><FONT face=Arial color=#0000ff size=2>Kind
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=766323111-15032006><FONT face=Arial color=#0000ff
size=2>Arash</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]
<B>On Behalf Of </B>Christian Steinert<BR><B>Sent:</B> Mittwoch, 15. März
2006 08:32<BR><B>To:</B> The OpenCms mailing list<BR><B>Subject:</B> Re:
[opencms-dev] Static Export Speed in Version 6<BR><BR></FONT></DIV>Brett
Beaumont wrote:
<BLOCKQUOTE
cite=midE9A401348CAF8E41A736032FC7D6F03205D42589@sywns013.ad.sytec.com
type="cite">
<META http-equiv=Context-Type content="text/html; charset=us-ascii">
<P>All, </P>
<P>We manage a couple of large OpenCMS v5 instances where the static
export time is incredibly long (over an hour). Can anyone tell me if
OpenCMS v6 makes a significant difference to the speed of the static
export? </P>
<P><B><I>Brett Beaumont </I></B><BR><I><SPAN lang=en-us>Technical
Consultant </SPAN></I><BR><I><SPAN lang=en-us>Sytec Resources Limited
</SPAN><SPAN lang=en-nz></SPAN></I><I><SPAN lang=en-nz></SPAN></I><SPAN
lang=en-nz><B></B></SPAN></P>
<P><SPAN lang=en-nz><I>Email </I> < </SPAN><A
href="mailto:brett.beaumont@sytec.com"><SPAN
lang=en-nz>mailto:brett.beaumont@sytec.com </SPAN></A><SPAN
lang=en-nz>> </SPAN><BR><SPAN lang=en-nz><I>WWW </I>
</SPAN><A href="http://www.sytec.com"><SPAN
lang=en-nz>http://www.sytec.com </SPAN></A><SPAN lang=en-nz></SPAN></P>
<P><SPAN lang=en-nz>Important: This electronic mail message and
attachments (if any) are confidential and may be legally privileged.
If you are not the intended recipient please contact us immediately and
destroy this message. You may not legally copy, disclose,
disseminate or use the contents in any way. Thank you.
</SPAN><B><I><SPAN lang=en-us></SPAN></I></B></P><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<A class=moz-txt-link-freetext href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</A></PRE></BLOCKQUOTE>I
have the feeling that it is faster than with opencms 5, but still it
requires a lot of time for publishing.<BR>not much experience yet from my
side.<BR><BR>I have coded an own publishing class to do the static export in
a low-priority background process so that the user doesn't have to wait for
it to finish.<BR>If i've tested it, i'll post it to the list.<BR><BR>Of
course background publishing still generates load and takes time. If you
make changes very frequently, then I don't know - maybe it's better then to
use the new OnDemandStaticExportHandler, which hooks into the "file not
found" processing and writes out a page only, if it is requested and not yet
existing. <BR>In this way, your pages don't have to be pre-exported, before
they are requested.<BR><BR>Christian<BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>