Forum Moderators: not2easy
HTML COMPRESSION
The best kind of html compression is done on the server side and then decompressed on the client side by the brower. The most common method is called gzip.
Other kinds of so-called "compression" remove whitespace (spaces, tabs, line breaks) from the markup -- this gives only a small gain in most cases. And because it reformats your markeup it can make the source code hard to read and edit in the future -- unless you save an unmodified version of the page and always begin work with it.
Graphics - I am already doing the 'Save for web' in photoshop and was looking for something more. If you have anything better, do let me know.
HTML Compression - YES! I've heard of gzip recently and checked out the site. I really looks like you need to know programming. Anyone know how to do it? On a scale of 1 to 10, can a newbie handle it? Do sticky me if you can help for a fee. Also can be use for an ASP microsoft site?
Photoshop's "Save for the Web" is pretty good. Versions prior to 6 (IIRC) don't do a fantastic job of PNG compression, so you should consider using an auxilliary utility like optipng to get the images down to the smallest possible size.
Make sure you are using PNG where appropriate -- I often see JPEG and GIF being used where they aren't the right choice.
Needless to say, "heavy" pages are generally "busy" pages. If you can ditch complicated table layouts that use image slicing, in favour of an elegant CSS approach, your page sizes will most likely improve dramatically.
Usage:
Scroll down a little, then browse image off your hard-drive OR enter the web url, enter email addie, then select your Output format, and click Test Now...
The address:
[netmechanic.com...]
(be patient, it takes it a few seconds but you will then see output of images from 90% to 10% in 10 percent increments and you simply select your choice then save and upload via ftp and you are done). It is a bit unfortunate, first time around the entire images directory has to be done one file at a time, I did this over a period of a few weeks, just 5 or 10 a day or something...
For html compression, all I do is take out all the extra white space. I do enter one command per line and sometimes I leave a blank line but I don't believe in indentation as it wastes space, worse thou are numerous remark statements, nested tables, empty tables or empty table cells (stuff like <td></td> ad nauseaum) or empty font or any other empty statements (like <center></center> or <b></b>), and if you're not using a text editor to code html then likely it could use improvement.
Far as gzip, I find it a nice utility thou in the process of compressing it utilizes server resources which when you get a lot of traffic, works against your intentions.