Project

General

Profile

Actions

Bug #65172

closed

config.compressJs does not minify JS

Added by Benjamin Robinson almost 10 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-02-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

config.minifyJS has been replaced by config.compressJs :

TSREF > Setup > config > minifyJS:
"Note: This property was deprecated and has been removed in TYPO3 6.0! Use config.compressJs instead."

Bug #36641 (minifyJS deprecated):
"As devlog sais: TypoScript config.minifyJS = 1 is deprecated - It will be removed in TYPO3 4.8. Use config.compressJs instead."

"TSREF > Setup > config > compressJs" only mentions GZIP compression and nothing about minifying and compressJS actually does not minify JavScript, unfortunately, but it should (like compressCss does for CSS), as minifyJS has been removed.

Actions #1

Updated by Jörg Wagner over 9 years ago

+1
Even if GZIP compression will do most of the job, minification still is desirable – not only to reduce size but mainly to remove unwanted comments from the code.

Actions #2

Updated by Riccardo De Contardi about 9 years ago

  • Category set to Frontend
Actions #3

Updated by David C. almost 9 years ago

+1

Actions #5

Updated by Benni Mack over 4 years ago

  • Status changed from New to Closed

I also propose to use the existing proven solutions "min" or "sourceopt" as they provide a good solution for all issues related to that.

Actions

Also available in: Atom PDF