Skip to main content
Version: 8.1

Static content bundling service

Level: beginner

The purpose of the static content bundling service is to reduce the page loading time. Static content includes *.js-files and *.css-files that are located in the Creatio file system and are required to display the Creatio UI in the browser. Learn more about static content in a separate article: Packages file content.

Ways to optimize the page loading time:

  • Minification. Reduces the size of *.css, *.js, and *.html files. This implies removal of commented out code as well as superfluous line breaks, leading and trailing spaces. This reduces the size of the original file by 10-20%.
  • Bundling i. e., generation of bundle files. Optimizes the performance by combining the static files of the same type into a single bundle file. Reduces the number of requests.

Most web applications are delivered with minified and bundled files. Since the Creatio configuration and static content can change during the life cycle, the service runs minification and bundling automatically when necessary.

Workflow

  • ContentService. The service that minifies and bundles Creatio files. Deployed independently of Creatio. ContentService can be paired with ContentWatcher or work independently. Learn more in a separate article: Static content bundling service.
  • ContentWatcher. A utility that interacts with Creatio files and ContentService to ensure timely minification and bundling. Learn more in a separate article: Static content bundling service.

To improve performance, the application is configured to generate minified bundle files by default.

View the static content bundling workflow in the figure below.

Compatibility with Creatio products

The static content bundling service is compatible with all Creatio products of version 7.11 and later.

Installation options

You can use the static content bundling service both on-site and in the cloud.

Use a Docker container to deploy the bundling service on-site. Docker documentation is available on the official Docker website. To the static content bundling service, follow the instructions in a separate article: Static content bundling service.

Creato cloud has the bundling service configured out-of-the-box.


See also

External IDEs

Client module

Packages file content

NLog

Front-end debugging


Resources

*.zip archive that contains the FilesListGetter utility

Official InfluxDb documentation

Official Docker documentation

Official Docker website

*.zip archive that contains the configuration files of services