Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for HTML whole-page minification?

I have a fairly stand-alone page, and I'd like to make it as small as possible: inline minimized Javascript and minimized CSS, and then minimize the HTML itself. There's tools for each of these parts, but I'd like to avoid writing the glue for putting all of these together. Open source would be ideal.

like image 649
Ian Bicking Avatar asked Jan 26 '11 20:01

Ian Bicking


1 Answers

try http://code.google.com/p/htmlcompressor/

EDIT

Although doing it will make the code reading part a lot more complex and as a result, debugging will be a big pain. Do it only after you have all the other required optimization in place.

like image 171
Vikram.exe Avatar answered Oct 14 '22 05:10

Vikram.exe