Static Export On Demand

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
This is a method of exporting pre-processed Content from OpenCms into the file system. The export takes place, whenever a resource that should be exported, is requested for the first time. At that point in time, the resource is processed and exported. All future requests can be answered by serving the statically exported file, without triggering any processing on the side of opencms again.
+
This is a method of exporting pre-processed Content from OpenCms into the file system. This is the method configured '''by default''' in OpenCms as freshly installed. The export takes place, whenever a resource that should be exported, is requested for the first time. At that point in time, the resource is processed and exported. All future requests can be answered by serving the statically exported file, without triggering any processing on the side of opencms again.
To use 'export on demand' configure <staticexporthandler> in opencms-importexport.xml to
+
  'org.opencms.staticexport.CmsOnDemandStaticExportHandler'.
+
  
see also: [[Static Export]], [[Static_Export_configuration]].
+
To use 'export on demand' change the <staticexporthandler> line in opencms-importexport.xml until it says
 +
<staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler>
 +
 
 +
see also: [[Static Export]], [[Static_Export_configuration]] and its opposite [[Static_Export_After_Publish]].

Revision as of 12:49, 13 April 2009

This is a method of exporting pre-processed Content from OpenCms into the file system. This is the method configured by default in OpenCms as freshly installed. The export takes place, whenever a resource that should be exported, is requested for the first time. At that point in time, the resource is processed and exported. All future requests can be answered by serving the statically exported file, without triggering any processing on the side of opencms again.

To use 'export on demand' change the <staticexporthandler> line in opencms-importexport.xml until it says

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

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

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox