Minifying CSS, JS, and HTML - together
Posted
by
Radu
on Stack Overflow
See other posts from Stack Overflow
or by Radu
Published on 2010-12-28T07:53:07Z
Indexed on
2010/12/28
10:53 UTC
Read the original article
Hit count: 242
Minifying JS and CSS is quite common. The benefits of minifying JS are much greater that those seen with CSS because with CSS you can't rename elements - and same goes for HTML. But what if all 3 were minified together so that the benefits of using shorter names can be brought to CSS and HTML? That is, instead of minifying without any regard to the relationships between the 3, these could be preserved and made simpler. I imagine that the implementation could be quite difficult but if it were possible, do you think it would provide a significant advantage over traditional minification?
© Stack Overflow or respective owner