Static Export On Demand

From OpenCms Wiki
Jump to: navigation, search

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 very first time or after publishing and requesting it after that 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