Static Export On Demand
From OpenCms Wiki
(Difference between revisions)
m |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This is a method of exporting pre-processed Content from OpenCms into the file system. The export takes place, | + | 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. |
− | 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]]. |
Latest revision as of 16:47, 1 August 2019
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.