Actions
Feature #19551
closedFeature for automatic load of compressed library
Start date:
2008-10-31
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
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)
Files
Actions