This TYPO3 CMS extension improves your frontend performance.
This extension helps to improve frontend performance in TYPO3 CMS.
- Minification of JS (files and inline)
- Exclude per page inline JS from concatenation
- Move default JS to footer
- Minify all generated HTML
TYPO3 does gzip compression but no minification of JS files. This extension adds
jsCompressHandler hook. Usage:
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.
includeJSFooter to add JS files it's a little annoying the only
remaining JS file in header is the default one. You could use option
moveInlineJsToFooter in EM to move the file to the footer section.
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
Clear cache via install tool.
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.