Static Export After Publish

From OpenCms Wiki
(Difference between revisions)
Jump to: navigation, search
(slightly changed some formulations)
 
Line 1: Line 1:
 
This is a method of exporting pre-processed content from OpenCms into the file system. The export takes place, whenever changed resources are published. At that point, a large amount of pages is generated and written into the file system as static files. Depending on the configuration, the complete Website may be re-exported with each change that is published.
 
This is a method of exporting pre-processed content from OpenCms into the file system. The export takes place, whenever changed resources are published. At that point, a large amount of pages is generated and written into the file system as static files. Depending on the configuration, the complete Website may be re-exported with each change that is published.
  
see also: [[Static Export]], [[Static_Export_configuration]].
+
To use 'export after publishing' ensure the <staticexporthandler> line in opencms-importexport.xml says
 +
<staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler>
 +
 
 +
see also: [[Static Export]], [[Static_Export_configuration]] and its opposite [[Static_Export_On_Demand]].

Latest revision as of 14:02, 13 April 2009

This is a method of exporting pre-processed content from OpenCms into the file system. The export takes place, whenever changed resources are published. At that point, a large amount of pages is generated and written into the file system as static files. Depending on the configuration, the complete Website may be re-exported with each change that is published.

To use 'export after publishing' ensure the <staticexporthandler> line in opencms-importexport.xml says

	<staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler>

see also: Static Export, Static_Export_configuration and its opposite Static_Export_On_Demand.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox