Supports JS added by TypoScript, PageRenderer or AssetCollector.
JS added by TypoScript or PageRenderer
- Minification of JS (files and inline)
- Exclude per page inline JS from concatenation
JS added by AssetCollector (BETA!)
- Enable minify and gzip for JS files
Minify all generated HTML
TYPO3 does gzip compression but no minification of JS files. This extension adds
jsCompressHandler hook and
config.compressJs needs to be enabled, gzip compression works as before.
files with all per page inline JS and some default JS. This way users need to
download code from static files multiple times, just because its merged with per
page inline JS. You could exclude these files from concatenation with static
files (includeJS and includeJSFooter) by enabling
option in extension manager.
Choose the one best fitting for your needs. Configure this in the EM.
JSMin+ Widely used JS compressor. A PHP port of Brendan Eich's Narcissus original implementation. http://crisp.tweakblogs.net/blog/6861/jsmin%2B-version-14.html
Use "Flush TYPO3 and PHP Cache" in the "Admin Tools -> Maintenance" BE module.
moveInlineJsToFooter option. Since TYPO3 v11 the asset collector is used
for inline JS and adds the default JS to the footer without any tweaks.
Use "Flush TYPO3 and PHP Cache" in the "Admin Tools -> Maintenance" BE module.`
Use "Clear all caches including PHP opcode cache" and "Dump Autoload Information" in the install tool (if needed for your setup).
Please update the
minifier configuration in the Extension Manager as the class names have changed.
Feel free to add bug reports via GitHub issues or send PRs.