Project

General

Profile

Actions

Feature #19551

closed

Feature for automatic load of compressed library

Added by Steffen Kamper about 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20661: [Feature] Add class for render HTML header/footer for BE and FEClosedSteffen Kamper2009-06-24

Actions
Actions #1

Updated by Oliver Hader almost 15 years ago

This is fixed with the PageRenderer in issue #20661

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF