#19551Feature for automatic load of compressed library
Description
The function loadJavascriptLib includes javascript library files if they are not already are included.
This patch looks for the compressed version of the lib file and use it when available.
This behaviour can be disabled with
$TYPO3_CONF_VARS[‘BE’][‘disableCompressedLibs’] = ‘1’;
eg for debugging.
the only thing is that a compressed lib has to exist like this:
typo3/contrib/prototype/prototype.js
typo3/contrib/prototype/prototype.compressed.js
call is like before:
loadJavascriptLib(‘contrib/prototype/prototype.js’);
(issue imported from #M9714)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.