Skip to content

Optimizing the JavaScript Files

Austin Gilbert edited this page Apr 11, 2023 · 1 revision

All files optimized by the plugin are stored in the filesystem in the folder ~/sitecore modules/Web/SXAThemeOptimizations, and the end result will be a new JavaScript file for each theme, and a JavaScript file for the master database and the web database so that theme changes don't need to be published to be tested. However, the Content Delivery server will only generate JavaScript files for the web database.

Two buttons for generating the JavaScript files have been added to the "Developer" ribbon section, one for generating the files on a Standalone or Content Management server, and one for generating the files on the Content Delivery servers.

...............