htmlcompressor icon indicating copy to clipboard operation
htmlcompressor copied to clipboard

HTML Analyzer to advice how to get the most out of HTML compression

Open GoogleCodeExporter opened this issue 10 years ago • 4 comments

It would be nice to have a tool that could provide some statistics and 
suggestions on compression settings for a particular case.

For now it would be probably a command line only tool with plain text output. 

In the first release it would simply display a list of page size gains using 
different compression settings.

In the future it would be nice to have something that would also suggest which 
compression settings to use and some refactoring recommendations on not 
efficient HTML blocks from the page size point of view. 

Please leave your thoughts and ideas for improvement in this thread.

Original issue reported on code.google.com by [email protected] on 10 Apr 2011 at 5:29

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

I'd love some stats on the compression. Particularly the breakdown on how much 
the js, css, and html were all compressed.

Original comment by [email protected] on 11 Apr 2011 at 3:11

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

In 1.2 it displays those things. Or you mean something different?

Original comment by [email protected] on 11 Apr 2011 at 4:45

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

Oh excellent. I'll check those out. Thanks Serg

Original comment by [email protected] on 11 Apr 2011 at 6:04

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter

I mentioned this in an email to you but I'll repost it here for others:

Some stats I've been thinking of is the composition breakdown of the html 
before and after compression. Ex. Page weighed 80kb uncompressed (60%html, 
30%js, 10%css), after compression it weighed 58kb (55%html, 32%js, 13%css). 
This can be a percent or (probably better) the size of each language within the 
html.

The goal of this is a more granular understanding of how a change in the 
compiler options affects code size.

Original comment by [email protected] on 13 Apr 2011 at 5:25

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter