Feature #19551

Feature for automatic load of compressed library

Added by Steffen Kamper almost 7 years ago. Updated over 5 years ago.

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)

9714_compressedlibs.diff Magnifier (4 kB) Administrator Admin, 2008-10-31 23:03


Related issues

related to Core - Bug #20661: [Feature] Add class for render HTML header/footer for BE ... Closed 2009-06-24

History

#1 Updated by Oliver Hader over 5 years ago

This is fixed with the PageRenderer in issue #20661

Also available in: Atom PDF