Static export

Static export report output after starting the export manually
Click on the image for a full size version

The static export is an advanced OpenCms feature, that allows to gain an important performance improvement by mirroring pages and other resources into the real file system of the server.

This can be used to

  • improve the performance of a dynamic site: by exporting all images to the document root of the web server, the performance can be improved, since the web server can serve these images directly, i.e. without calling the JSP container.
  • Create a full static copy of a website that can be run completely without OpenCms or that can be stored on a CD-Rom.

The static export comes in two variants:

  • the static export on demand creates a copy of a resource in the RFS (Real File System) the first time this resource is requested while browsing the online project.
    So following requests will be resolved faster by just displaying the previous created RFS-copy of the resource, instead of creating each time dynamically every resource, an operation that may involve complex logic and expensive database access.
  • the after-publish static export writes out pages after a  content was published, so that the RFS contains a full copy of a site.
    This after-publish export can also be initiated by starting it in the database management in the administration view of the workplace.

When using the static export, OpenCms automatically adjusts all links to exported resources or to dynamically generated pages.

 Advanced export rules can be defined to meet more complex export requirements, e.g. to defines dependencies if specific resources are modified in OpenCms.

Try the OpenCms Live Demo

Latest News

  • OpenCms 17 available

    Apr 9, 2024 - OpenCms 17 gives content managers the new app "Date search" to find content that has been changed in a certain time range. The "Websites" app allows to easily export the content of a complete site for archiving. An option has been added to hide "sensitive" content in the Offline project. The default Mercury template has been further improved, e.g. with SEO optimized job postings, a "spacer" function and marker clusters for maps. OpenCms 17 has also been tested and certified using Java 17 LTS and 21 LTS.

  • OpenCms 17 Release Notes

    Apr 9, 2024 - The OpenCms 17 release notes contain detailed information about the new features and fixes in this version.

  • Alkacon OCEE 17

    Apr 9, 2024 - Alkacon OCEE 17 is the latest OCEE release for OpenCms 17. This version improves the cluster shutdown behaviour when using the CmsShell.

  • OpenCms Docker image

    Apr 9, 2024 - Test OpenCms using the official image from the Docker hub registry - the fastest way to evaluate and test OpenCms. The image is well suited for evaluation and test purposes of the latest OpenCms release. We provide a docker-compose file to get OpenCms and the database running with just one command.