Toolset plugins are optimized by design and load resources in an efficient way.
We don’t recommend optimizing Toolset resource files listed on this page. Doing so will not bring any significant performance gains but might cause different problems like issues after updating Toolset plugins.
Even if you exclude all Toolset resources from optimization, Toolset functionality may still break if the optimization plugin modifies dependencies such as jQuery. In this case, you would need to disable the optimization entirely.
Toolset resource files
Depending on the content being displayed, Toolset could load any of the resources listed below on the front-end, and you may need to exclude all of them from the optimization plugins. The common resources could be loaded by any of the installed Toolset plugins, which could change as plugins are updated. This is why you may need to exclude the same resources once for each installed Toolset plugin (edit the “plugin-folder” bit).
Common scripts
wp-content/plugins/{plugin-folder}/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/{plugin-folder}/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
Toolset Blocks
wp-content/plugins/toolset-blocks/public/css/views-frontend.css
wp-content/plugins/toolset-blocks/public/js/views-frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/js/frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/vendor/glide/glide.min.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/vendor/lightbox/js/lightbox.min.js
Toolset Views
wp-content/plugins/wpv-views/public/css/views-frontend.css
wp-content/plugins/wpv-views/public/js/views-frontend.js
wp-content/plugins/wpv-views/vendor/toolset/blocks/public/js/frontend.js
wp-content/plugins/wpv-views/vendor/toolset/blocks/public/vendor/glide/glide.min.js
wp-content/plugins/wpv-views/vendor/toolset/blocks/public/vendor/lightbox/js/lightbox.min.js
Toolset Forms
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/select2/select2.css
wp-content/plugins/cred-frontend-editor/public/js/frontend.js
wp-content/plugins/cred-frontend-editor/public/js/media_manager_basic.js
wp-content/plugins/cred-frontend-editor/public/js/select2_frontend.js
any reCAPTCHA scripts
Toolset WooCommerce Blocks
wp-content/plugins/woocommerce-views/library/toolset/woocommerce-views/res/js/wcviews-frontend.js
wp-content/plugins/toolset-woocommerce-blocks/library/toolset/woocommerce-views/res/css/wcviews-onsalebadge.css
wp-content/plugins/toolset-woocommerce-blocks/public/css/style.css
Toolset Maps
wp-content/plugins/toolset-maps/resources/css/toolset_maps_fixes.css
wp-content/plugins/toolset-maps/resources/js/wpv_addon_maps.js
Toolset Layouts
wp-content/plugins/layouts/resources/js/ddl-layouts-frontend.js
wp-content/plugins/layouts/resources/js/ddl-tabs-cell-frontend.js