Minify HTML in Magento

Minify-Js--Css-(Web)Minifying HTML in Magento is one of those hidden Magento performance tweaks that few stores do. Almost everyone is minifying javascript and css thanks you our Minify Javascript / CSS Magento extension. However, few people enable the ability to Minify HTML which this extensions also supports.

Why should I Minify HTML?

It is important to optimize the size of your main HTML page because these cannot be cached by the browser (unlike javascript / css) and as a result the speed enhancement will affect almost every request. Many servers will compress the HTML of a page and that is extremely important to the page size. However, if the server is not doing this, then HTML minification becomes extremely important. Even when compression is used the minification process of HTML can still decrease page size by many percent, which will add up when you consider it affects every request.

How do I enable HTML Minification in Magento?

It is simple. Follow these steps:

  1. Purchase Minify Javascript / CSS for Magento and install it in your store
  2. In your store backend go to Extendware -> Manage Extensions -> Minify JS / CSS -> Configure -> Files and enable the HTML Minification option. There are three different modes to choose from. Usually the default is best setup.

Quick Overview

Speed up your site, improve your search engine site rankings and conversion rate, and improve your user experience in the process. Minify Js / CSS extension reduces page size, bandwidth, request count, and server load without anything more than installing this easy to use and feature-full extension.