[opencms-dev] Static export / delete export-folder on publish ?!
opencms at johnen.biz
Tue Jan 27 01:11:30 CET 2009
I successfully configured a website for static export which is basically
There is a major problem though. The site has a navigation based on
which enables you to navigate the every single page on the website. This
also appears on every single page. Now when I do a complete static export it
fine. But when I add a single page and publish it, it does not appear on any
exported pages,which makes kind of sense because the exported pages are not
I'm using the CmsOnDemandStaticExportHandler and I know, that I could use
the CmsAfterPublishStaticExportHandler. But when I do, it takes approx. 10
to publish the complete website which is not acceptable. There are many
working on the website, publishing a page many times a day.
I noticed, that when I simply delete the complete export-directory, the
being exported on demand (as the export handler says).
Now I'm wondering if I can't simply delete the export-directory everytime a
is published and if so how? This way the load for static export would be
spread throughout the day (not having peaks where everything slows down).
Any hint would be highly appreciated.
View this message in context: http://www.nabble.com/Static-export---delete-export-folder-on-publish--%21-tp21674246p21674246.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev