The speed with which web pages load is now a key part of how search engines rank websites and you can see how your website performs with Google's PageSpeed Insights tool. As well as many other approaches, Google recommends that HTML web pages be "minified". The process of minification refers to the removal of unnecessary data without affecting how the page is processed by the browser. For example, code comments, white space and line breaks are not required for display purposes and so can safely be removed to reduce file size.

PHPTemplateLayer can now optionally minify your HTML output, including removing unnecessary quotes (for example quotes are not used where an attribute value does not contain spaces). A further advantage of using PHPTemplateLayer is that you can maintain your non-minified HTML templates with the formatting you appreciate for editing, while at the same time enjoying the benefits of minified output.