HTML Minifier is a lightweight PrestaShop module that reduces the size of HTML output sent to visitors' browsers by stripping unnecessary whitespace and newlines from the rendered page source. By compressing the HTML output at the server level, the module can contribute to faster page load times without modifying theme files or requiring complex configuration.
- Whitespace removal: Removes extra spaces and blank lines from HTML output, minimising the overall size of the page source delivered to the browser.
- Attribute-level cleanup: Strips redundant spaces between HTML tag attributes and trims trailing spaces within attribute values.
- Safe tag exclusion: The
<script>, <pre>, and <textarea> tags are excluded from minification to avoid breaking JavaScript or preformatted content. - No overrides: The module works without using PrestaShop core overrides, reducing the risk of conflicts with other modules or theme customisations.
This module is suitable for PrestaShop store owners looking for a simple, server-side HTML optimisation tool that requires no external service or complex setup. It has been tested with the default and Warehouse themes; the developer advises contacting them if issues arise with other themes.
Comments (0)
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent