Usage
After the package is installed, all js and css files (and chunks) added by the
MODX API functions regClientStartupScript
, regClientScript
, regClientCSS
,
regClientStartupHTMLBlock
and regClientHTMLBlock
are checked to minify them
by minify.
System Settings
MinifyRegistered uses the following system settings in the namespace minifyregistered
:
-
Grouping registered javascripts could change the inclusion order of the registered javascripts. ↩
-
Not minified files are included later than the grouped minified and minified files. ↩
-
Registered chunks (i.e. javascript code) are included at the last position of head/body. ↩
-
The order of inclusion is external, grouped minified, minified, not minified and direct code. ↩