This plugin delivers minified HTML and minified inline JavaScript to visitors.
In tests this results in up to 50% smaller contents, with enabled compression up to 30%.
You can track the compression in Devtools by viewing the header X-Html-Compressor.
This extension optimizes the loading sequence of scripts. If you or a plugin inserts custom scripts into the website, such as tracking codes, these can become faulty and need to be adjusted. This might be solvable by using default ready state events in JavaScript.
Composer from packagist.org
composer require frosh/platform-html-minify
Download Plugin via plugin manager or extension manager
Download the plugin from the release page, upload it into the plugin manager or extension manager and enable it Latest release:
https://github.com/FriendsOfShopware/FroshPlatformHtmlMinify/releases/latest/download/FroshPlatformHtmlMinify.zip
bin/console plugin:refresh
bin/console plugin:install -c --activate FroshPlatformHtmlMinifyThe MIT License (MIT). Please see License File for more information.