Improving coach view performance
To improve the performance of a coach view, you can add custom Dojo build layers to it.
About this task
With the Dojo build system, your coach view can include the modules that it depends on in one file or small set of files. These files, each one a layer, reduce the number of HTTP requests that are needed by the application that contains the coach view. You can use the layers to improve performance by optimizing the loading of the modules without sacrificing modular development. These layers can be custom code or be third-party Dojo layers. The layer files must be built with the Dojo version that is compatible with the Dojo version that your coach view uses.
IBM® Business Process Manager has two modes: debug and non-debug. The isDebug configuration setting in the administrative console determines which mode is in effect. You can specify different layers for each mode.
The build layer definitions must be in a specific format at the start of the inline JavaScript for the coach view. Process Designer uses this format to generate the appropriate code in the HTML for the coaches that contain the coach view.