I know there are several tools out there that are capable of obfuscating JavaScript files such as by turning a simple functions like:
function testing()
{
var testing;
var testing2;
alert(testing+testing2);
}
into
function a(var a,b;alert(a+b);)
My question is does something like this exist for use with CSS/HTML (or is there a tool that has a similar effect)? In particular, a minification/obfuscation tool that actually renames variables and refereneces and eliminates additional white-space etc.
And if so - would the benefits in performance outweigh the readability in both CSS/HTML/JavaScript minification/obfuscation?