[TYPO3-core] RFC: #9714: Feature for automatic load of compressed library
Steffen Kamper
info at sk-typo3.de
Fri Oct 31 23:09:32 CET 2008
Hi,
This is an SVN patch request.
Type:
New feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=9714
Branches:
trunk
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.
Additional Information:
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');
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9714_compressedlibs.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081031/4901c324/attachment.txt
More information about the TYPO3-team-core
mailing list