diff --git a/composer.json b/composer.json index aab5d160..36a320dc 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,8 @@ "typo3-ter/imageoptimizer": "^1.0", "typo3-ter/loginlimit": "^1.0", "doctrine/dbal": "^2.5", - "yohang/calendr": "^2.1" + "yohang/calendr": "^2.1", + "wyrihaximus/html-compress": "^1.4" }, "scripts": { "typo3-cms-scripts": [ diff --git a/composer.lock b/composer.lock index 9919f276..9a41a97c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "28a53d656d95cf02c7990f31180b36a3", + "content-hash": "0268a42800e1640546fc8e83592c9887", "packages": [ { "name": "cogpowered/finediff", @@ -901,6 +901,247 @@ ], "time": "2017-08-13T11:41:48+00:00" }, + { + "name": "jalle19/php-yui-compressor", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/Jalle19/php-yui-compressor.git", + "reference": "eb88c4f7fd8d7c8bd15a1970611d67cca11f71a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Jalle19/php-yui-compressor/zipball/eb88c4f7fd8d7c8bd15a1970611d67cca11f71a0", + "reference": "eb88c4f7fd8d7c8bd15a1970611d67cca11f71a0", + "shasum": "" + }, + "require": { + "nervo/yuicompressor": "2.4.*", + "php": ">=5.3.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "YUI": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "description": "A modern PHP wrapper for the YUI compressor", + "homepage": "https://github.com/Jalle19/php-yui-compressor", + "keywords": [ + "JS", + "css", + "minify", + "yui" + ], + "time": "2014-06-03T12:02:11+00:00" + }, + { + "name": "linkorb/jsmin-php", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/linkorb/jsmin-php.git", + "reference": "be85d87fc9c27730e7e9ced742b13010dafc1026" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/linkorb/jsmin-php/zipball/be85d87fc9c27730e7e9ced742b13010dafc1026", + "reference": "be85d87fc9c27730e7e9ced742b13010dafc1026", + "shasum": "" + }, + "require": { + "php": ">=5.0.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joost Faassen", + "email": "j.faassen@linkorb.com", + "role": "Packaging for Composer" + }, + { + "name": "Ryan Grove", + "email": "ryan@wonko.com", + "role": "PHP port" + }, + { + "name": "Adam Gofort", + "email": "aag@adamgoforth.com", + "role": "Updates to the PHP port" + }, + { + "name": "Douglas Crockford", + "email": "douglas@crockford.com" + } + ], + "description": "Unofficial package of jsmin-php", + "homepage": "http://www.github.com/linkorb/jsmin-php", + "keywords": [ + "javascript", + "jsmin", + "minify" + ], + "time": "2013-03-15T13:16:35+00:00" + }, + { + "name": "matthiasmullie/minify", + "version": "1.3.60", + "source": { + "type": "git", + "url": "https://github.com/matthiasmullie/minify.git", + "reference": "ab7fea80ce5ce6549baaf272bc8bd926a7e08f90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/matthiasmullie/minify/zipball/ab7fea80ce5ce6549baaf272bc8bd926a7e08f90", + "reference": "ab7fea80ce5ce6549baaf272bc8bd926a7e08f90", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "matthiasmullie/path-converter": "~1.1", + "php": ">=5.3.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.0", + "matthiasmullie/scrapbook": "~1.0", + "phpunit/phpunit": "~4.8" + }, + "suggest": { + "psr/cache-implementation": "Cache implementation to use with Minify::cache" + }, + "bin": [ + "bin/minifycss", + "bin/minifyjs" + ], + "type": "library", + "autoload": { + "psr-4": { + "MatthiasMullie\\Minify\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthias Mullie", + "email": "minify@mullie.eu", + "homepage": "http://www.mullie.eu", + "role": "Developer" + } + ], + "description": "CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.", + "homepage": "http://www.minifier.org", + "keywords": [ + "JS", + "css", + "javascript", + "minifier", + "minify" + ], + "time": "2018-04-18T08:50:35+00:00" + }, + { + "name": "matthiasmullie/path-converter", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/matthiasmullie/path-converter.git", + "reference": "3082a6838be02b930239a97d38b5c9da4d693aca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/matthiasmullie/path-converter/zipball/3082a6838be02b930239a97d38b5c9da4d693aca", + "reference": "3082a6838be02b930239a97d38b5c9da4d693aca", + "shasum": "" + }, + "require": { + "ext-pcre": "*", + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "MatthiasMullie\\PathConverter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthias Mullie", + "email": "pathconverter@mullie.eu", + "homepage": "http://www.mullie.eu", + "role": "Developer" + } + ], + "description": "Relative path converter", + "homepage": "http://github.com/matthiasmullie/path-converter", + "keywords": [ + "converter", + "path", + "paths", + "relative" + ], + "time": "2018-02-02T11:30:10+00:00" + }, + { + "name": "meenie/javascript-packer", + "version": "1.1", + "source": { + "type": "git", + "url": "https://github.com/meenie/javascript-packer.git", + "reference": "dcab0159ae1ed9d7535c034fb8afe1e4c3495d22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/meenie/javascript-packer/zipball/dcab0159ae1ed9d7535c034fb8afe1e4c3495d22", + "reference": "dcab0159ae1ed9d7535c034fb8afe1e4c3495d22", + "shasum": "" + }, + "type": "library", + "autoload": { + "files": [ + "class.JavaScriptPacker.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL 2.1" + ], + "authors": [ + { + "name": "Nicolas Martin", + "role": "Developer" + } + ], + "description": "Composer hosted mirror of the PHP Version of Dean Edwards' JavaScript Packer", + "homepage": "http://joliclic.free.fr/php/javascript-packer/en/", + "keywords": [ + "javascript packer" + ], + "time": "2013-03-25T21:54:33+00:00" + }, { "name": "mso/idna-convert", "version": "v0.9.1", @@ -951,6 +1192,127 @@ ], "time": "2016-01-06T21:05:46+00:00" }, + { + "name": "natxet/CssMin", + "version": "v3.0.6", + "source": { + "type": "git", + "url": "https://github.com/natxet/CssMin.git", + "reference": "d5d9f4c3e5cedb1ae96a95a21731f8790e38f1dd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/natxet/CssMin/zipball/d5d9f4c3e5cedb1ae96a95a21731f8790e38f1dd", + "reference": "d5d9f4c3e5cedb1ae96a95a21731f8790e38f1dd", + "shasum": "" + }, + "require": { + "php": ">=5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Joe Scylla", + "email": "joe.scylla@gmail.com", + "homepage": "https://profiles.google.com/joe.scylla" + } + ], + "description": "Minifying CSS", + "homepage": "http://code.google.com/p/cssmin/", + "keywords": [ + "css", + "minify" + ], + "time": "2018-01-09T11:15:01+00:00" + }, + { + "name": "nervo/yuicompressor", + "version": "2.4.8", + "source": { + "type": "git", + "url": "https://github.com/nervo/yuicompressor.git", + "reference": "e6e3b215c3998cf6092613c002ae533ae75d7ada" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nervo/yuicompressor/zipball/e6e3b215c3998cf6092613c002ae533ae75d7ada", + "reference": "e6e3b215c3998cf6092613c002ae533ae75d7ada", + "shasum": "" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD" + ], + "description": "YUI Compressor is an open source tool that supports the compression of both JavaScript and CSS files. The JavaScript compression removes comments and white-spaces as well as obfuscates local variables using the smallest possible variable name. CSS compression is done using a regular-expression-based CSS minifier.", + "homepage": "https://github.com/yui/yuicompressor", + "keywords": [ + "java", + "yui" + ], + "time": "2013-09-13T10:26:14+00:00" + }, + { + "name": "patchwork/jsqueeze", + "version": "v2.0.5", + "source": { + "type": "git", + "url": "https://github.com/tchwork/jsqueeze.git", + "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tchwork/jsqueeze/zipball/693d64850eab2ce6a7c8f7cf547e1ab46e69d542", + "reference": "693d64850eab2ce6a7c8f7cf547e1ab46e69d542", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "Patchwork\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "(Apache-2.0 or GPL-2.0)" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + } + ], + "description": "Efficient JavaScript minification in PHP", + "homepage": "https://github.com/tchwork/jsqueeze", + "keywords": [ + "compression", + "javascript", + "minification" + ], + "time": "2016-04-19T09:28:22+00:00" + }, { "name": "pear/http_request2", "version": "v2.3.0", @@ -1609,6 +1971,52 @@ "homepage": "https://symfony.com", "time": "2018-04-03T05:22:50+00:00" }, + { + "name": "tedivm/jshrink", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/tedious/JShrink.git", + "reference": "68ce379b213741e86f02bf6053b0d26b9f833448" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tedious/JShrink/zipball/68ce379b213741e86f02bf6053b0d26b9f833448", + "reference": "68ce379b213741e86f02bf6053b0d26b9f833448", + "shasum": "" + }, + "require": { + "php": "^5.6|^7.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.8", + "php-coveralls/php-coveralls": "^1.1.0", + "phpunit/phpunit": "^6" + }, + "type": "library", + "autoload": { + "psr-0": { + "JShrink": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Robert Hafner", + "email": "tedivm@tedivm.com" + } + ], + "description": "Javascript Minifier built in PHP", + "homepage": "http://github.com/tedious/JShrink", + "keywords": [ + "javascript", + "minifier" + ], + "time": "2017-12-08T00:59:56+00:00" + }, { "name": "typo3-ter/gridelements", "version": "7.2.0", @@ -2324,6 +2732,115 @@ ], "time": "2017-12-04T15:30:33+00:00" }, + { + "name": "websharks/css-minifier", + "version": "150820", + "source": { + "type": "git", + "url": "https://github.com/websharks/css-minifier.git", + "reference": "da1d0254c41e1f59c7337aa444d743e6056046ff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/websharks/css-minifier/zipball/da1d0254c41e1f59c7337aa444d743e6056046ff", + "reference": "da1d0254c41e1f59c7337aa444d743e6056046ff", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": ">=5.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "WebSharks\\CssMinifier\\": "src/includes/classes" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0+" + ], + "authors": [ + { + "name": "websharks", + "homepage": "http://websharks-inc.com/", + "role": "company" + }, + { + "name": "jaswsinc", + "homepage": "http://jaswsinc.com/", + "role": "developer" + }, + { + "name": "raamdev", + "homepage": "http://raam.org/", + "role": "developer" + } + ], + "description": "Compresses CSS.", + "homepage": "https://github.com/websharks/css-minifier", + "keywords": [ + "compressor", + "css", + "websharks" + ], + "time": "2015-08-21T03:19:25+00:00" + }, + { + "name": "wyrihaximus/html-compress", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/WyriHaximus/HtmlCompress.git", + "reference": "0c2207ceaa711b93e1d33551cbb7b1ba6cd1e975" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/WyriHaximus/HtmlCompress/zipball/0c2207ceaa711b93e1d33551cbb7b1ba6cd1e975", + "reference": "0c2207ceaa711b93e1d33551cbb7b1ba6cd1e975", + "shasum": "" + }, + "require": { + "jalle19/php-yui-compressor": "^1.0", + "linkorb/jsmin-php": "1.0.0", + "matthiasmullie/minify": "^1.3", + "meenie/javascript-packer": "1.1", + "natxet/cssmin": "^3.0", + "patchwork/jsqueeze": "~1.0|~2.0", + "php": "^7.0 || ^5.6", + "tedivm/jshrink": "^1.3", + "websharks/css-minifier": "150820" + }, + "require-dev": { + "phake/phake": "^1.0", + "phpunit/phpunit": "^4.0", + "squizlabs/php_codesniffer": "^1.0", + "vectorface/dunit": "^2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "WyriHaximus\\HtmlCompress\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Cees-Jan Kiewiet", + "email": "ceesjank@gmail.com", + "homepage": "http://wyrihaximus.net/" + } + ], + "description": "Compress/minify your HTML", + "keywords": [ + "compress", + "html" + ], + "time": "2018-01-03T21:15:44+00:00" + }, { "name": "yohang/calendr", "version": "2.1.1", diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt index 8ae27dfb..da56fa50 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt @@ -107,7 +107,7 @@ config { htmlTag_langKey = de compressJs = 1 compressCss = 1 - compressBody = 0 + compressBody = 1 typolinkCheckRootline = 1 typolinkEnableLinksAcrossDomains = 1 }