From 6fcc5bcef0cb51f13b76ad81e4e118c4666f1990 Mon Sep 17 00:00:00 2001 From: Steffen Gebert <steffen.gebert@typo3.org> Date: Mon, 24 Oct 2011 20:19:23 +0200 Subject: [PATCH] [BUGFIX][t3editor] Description of new options compressJs and compressCss Change-Id: Ie61a4415b0efd4bd624e88d908933bd4f9e9350c Resolves: #31238 Releases: 4.6 Reviewed-on: http://review.typo3.org/6255 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Stefan Galinski Tested-by: Stefan Galinski --- typo3/sysext/t3editor/res/tsref/tsref.xml | 41 +++++++++-------------- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/typo3/sysext/t3editor/res/tsref/tsref.xml b/typo3/sysext/t3editor/res/tsref/tsref.xml index 1e2aa417b850..9f9dd37af187 100644 --- a/typo3/sysext/t3editor/res/tsref/tsref.xml +++ b/typo3/sysext/t3editor/res/tsref/tsref.xml @@ -849,43 +849,32 @@ config.removeDefaultJS = 1]]></description> ]]></default> </property> <property name="minifyJS" type="boolean"> - <description><![CDATA[If set, inline or externalized (see removeDefaultJS above) JavaScript will be minified. Minification will remove all excess space and will cause faster page loading. Together with removeDefaultJS = external it will significantly lower web site traffic. - -Example: - -config.minifyJS = 1 - -Note: The built-in compression handler will compress files only if $GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] is set to a value higher then "0". Otherwise the files will only be minified. This requires the same options as for ['BE']['compressionLevel'] to be set in .htaccess. - -Example: - -$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 9; - -Note: TYPO3 comes with a built-in compression handler but you can also register your own one using $GLOBALS['TYPO3_CONF_VARS']['FE']['jsCompressHandler']. - -Example: - -$GLOBALS['TYPO3_CONF_VARS']['FE']['jsCompressHandler'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/class.tx_myext_jsCompressHandler.php:tx_myext_jsCompressHandler->minifyJs';]]></description> + <description><![CDATA[This setting is deprecated and will be removed with TYPO3 4.8! Use config.compressJs instead, which has the same effect.]]></description> <default><![CDATA[false]]></default> </property> <property name="minifyCSS" type="boolean"> - <description><![CDATA[Setting this option will activate CSS minification. - -Example: - -config.minifyCSS = 1 + <description><![CDATA[This setting is deprecated and will be removed with TYPO3 4.8! Use config.compressCss instead, which has the same effect.]]></description> + <default><![CDATA[false]]></default> + </property> + <property name="compressJs" type="boolean"> + <description><![CDATA[If set, inline JavaScript and external JavaScript files will be minified and compressed. -Note: The built-in compression handler will compress files only, if $GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] is set to a value higher then "0". Otherwise the files will only be minified. This requires the same options as for ['BE']['compressionLevel'] to be set in .htaccess. +Minification will remove all excess space. The more significant compression step (using Gzip compression) requires $TYPO3_CONF_VARS['FE']['compressionLevel'] to be enabled in the Install Tool together with the gzip-related compressionLevel options in .htaccess, as otherwise the files will not be readable by the user agent. Example: -$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 9; +config.compressJs = 1 + ]]></description> + <default><![CDATA[false]]></default> + </property> + <property name="compressCss" type="boolean"> + <description><![CDATA[If set, CSS files will be minified and compressed. -Note: TYPO3 comes with a built-in compression handler but you can also register your own one using $GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler']. +Minification will remove all excess space. The more significant compression step (using Gzip compression) requires $TYPO3_CONF_VARS['FE']['compressionLevel'] to be enabled in the Install Tool together with the gzip-related compressionLevel options in .htaccess, as otherwise the files will not be readable by the user agent. Example: -$GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler'] = t3lib_extMgm::extPath($_EXTKEY) . 'Classes/class.tx_myext_cssCompressHandler.php:tx_myext_cssCompressHandler->minifyJs';]]></description> +config.compressCss = 1]]></description> <default><![CDATA[false]]></default> </property> <property name="concatenateJs" type="boolean"> -- GitLab