|Perl: the Markov chain saw|
HTML::Clean Reviewby sheridan3003 (Beadle)
|on Oct 15, 2001 at 21:37 UTC||Need Help??|
Item Description: Cleans up static HTML pages
I work with a web site where the front-end developers use FrontPage to develop the UI. I began wondering if there was a way I could improve/shrink down the HTML they were generating.
I found HTML::Clean and began testing it.
This is a very easy way to shrink the static HTML done on a web site.
I used a small test site one of the developers had put together to test with.
I was able to achieve a 10% shrinkage of the total size of the directory. In the scheme of things this is not a big savings, however, as I begin to move on to the larger web sites we have built I believe a 10% savings will begin to show improved download times for our customers.
Thanks to some of the other PM members I have put together this small script to demonstrate the abilities of HTML::Clean. While I have tested this on my own directories you may want to ensure that you have backups of your html files prior to running this script on your directories since this will over write the files in the running directory.
Edit kudra, 2002-02-26 Added paragraph breaks; added 'review' to title per ntc req