Hey DPers, Is there free html compression tool out there? I'd like to make to know if it really helps my site performance. Thanks!
Usually I consider it that if you need to whitespace strip your markup, you've probably got the wrong markup... especially since your server should be sending data compressed anyways - at least if you are on a decent server like apache. Take the "forex" site in your links. It's 91k of markup but the server is compressing it to 22k using gzip. You want to save bandwidth white-space stripping is unlikely to deliver anything meaningful to you. (at least, I assume you mean that type of tool) You want to save bandwidth, get the markup on your sites into THIS century, perhaps before the century is out. Tables for layout, presentational tags, presentational attributes, little proper use of how CSS can get you caching, nothing resembling semantic markup... Hence the 91k of markup to deliver only 9k of actual content - there's no good reason for that Forex Broker Reviews page to be more than 18k of markup if done in MODERN HTML, you've got five times as much code as should be needed! Your car games site while more 'modern' is similarly afflicted with useless/pointless scripting, presentational images in the markups, and hordes of unneccessary DIV's, classes and ID's. Good rule of thumb? If you open six or more DIV before you even have anything resembling content, you probably screwed up somewhere. That site is NOT sending your content compressed though - but really at 50k of markup for 3k of text and some forty or so images that qualify as content, there's likely better ways to get meaningful bandwidth savings. (I'd ballpark that page maximum needing 10k of markup) Compression tool as in white-space stripping? Least of your worries. Get the server compression enabled on your host, and even then REAL benefits would come from rewriting the pages since on both the sites in your signature there's more of 1998 to them than 2009.