cancankiran / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 serg472@gmail.com on 10 Apr 2011 at 5:29

GoogleCodeExporter commented 9 years ago
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 erich.re...@gmail.com on 11 Apr 2011 at 3:11

GoogleCodeExporter commented 9 years ago
In 1.2 it displays those things. Or you mean something different?

Original comment by serg472@gmail.com on 11 Apr 2011 at 4:45

GoogleCodeExporter commented 9 years ago
Oh excellent. I'll check those out. Thanks Serg

Original comment by erich.re...@gmail.com on 11 Apr 2011 at 6:04

GoogleCodeExporter commented 9 years ago
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 erich.re...@gmail.com on 13 Apr 2011 at 5:25