Version 0.2
This plugin uses the response component. That means no output buffer is needed.
- Add
html-minifierfolder intosite/plugins/. - All your pagees should now have minified html output.
It's active by default but it's possible to turn it off.
c::set('plugin.html.minifier.active', true));If you are a hardcore user you can use the options of the Minify_HTML class.
c::get('plugin.html.minifier.options', array());Read about the options in the code somewhere around line 50.
- 0.2 - Added namespaces. Inherit response from parent. Added options.
- 0.1 - Init
If it does not work, make sure you don't have some cache activated.
Kirby 2.3 beta 2
- @ian-cox for inspiration from the plugin Kirby MinifyHTML.
- @lukasbestle for all the improvements.