FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

HTML compressor

 


regards
Hey guys, a few days ago I found a free HTML compressor. It's really efficient. Now my pages load a lot faster.

The program can be found here:

http://www.freesoft.fsnet.co.uk/html01.htm

Just remember to make a copy of all your HTML files before of compressing as it removes all unnecessary white spaces in your files and makes further editing very difficult.

Wink Regards
jabapyth
wait--all it does is remove whitespace?
i can do that with js!
tamilparks
very nice
thanks for the information
woodenbrick
Aye, seems a bit of overkill to have a program to just remove whitespace, most html editors will do that anyway.
tamilparks
very useful for me
AftershockVibe
Why would you want to remove the whitespace?

Firstly, each character takes up a maximum of two bytes (probably just one!). That's peanuts compared to any images you're using in your page. Each PHPBB emoticon is about 0.5kB, each of those tiny images is worth 250x the bandwidth you save by removing a whitespace character! You'd need to remove about 5500 to equal my avatar.

Secondly, if people are doing this to try to "obfuscate" their code so that people won't steal it then remember that whitespace and indentation is almost as easy to put back in as it is to remove. You're just making work for yourself if you need to change your own code in the future.

If you actually want to save space, look at enabling GZip compression for your pages (you can do this through .htaccess or PHP directly) or by compressing your images better.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.