What this solution does
Qu is a module for advanced management of JavaScript, CSS, and other asset loading in 1C-Bitrix projects. Originally created to integrate with the qu.js library, the tool has evolved into a universal solution that allows connecting any files with full control over attributes and loading methods.
The core of the module is a custom asset registry built using the standard $APPLICATION->AddHeadString() method. This enables flexible description of files, specifying their attributes (async, defer, media, onload, etc.), versions, and dependencies. The registry can be extended in three ways: via configuration files in the module's /config/ folder, through the OnQuAssetsBuild event triggered by other modules, or via user overrides in the /local/php_interface/qu/ directory. In the latter case, settings can be global for all sites or specific to a particular site in a multisite environment.
The standard configuration includes qu.js files and several built-in adapters (bx-ready-que, bx-ready-on, bx-ready-min) designed to simplify the loading of the composite in asynchronous scenarios.
The Qu module extends asset loading capabilities by supporting async, defer, and media attributes. It optimizes site performance, simplifies the management of complex resources, and provides centralized control over all external project dependencies.
General iT can install “Qu Extended Asset Loading with async/defer/media”, configure its settings and verify its operation in the existing project.