Feature #19551
Feature for automatic load of compressed library
Status: | Resolved | Start date: | 2008-10-31 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Oliver Hader | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | - | |||
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
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)
Related issues
History
#1 Updated by Oliver Hader over 5 years ago
This is fixed with the PageRenderer in issue #20661