PDA

View Full Version : html compression


gwlubin
07-21-1999, 03:43 AM
what do folks round here think of html compression.

does taking out the the white space aid quicker loading, prevent or deter code piracy?

what's the concensus of opinion?

/g

Deb
07-21-1999, 06:57 AM
It will save on load time a tiny tiny tiny tiny tiny bit.. but I think clean code, that is easy for you to follow and understand, far outweighs the advantages of saving a half of a milisecond on the download time ...

Deb

Stephen
07-21-1999, 01:51 PM
Good question. Good reply.

I've wondered about that myself with all the tabs I put in to keep track of table formatting. However, when there are 4 tabs and only 8 printable characters making up a table cell entry, doesn't that increase by 50% the "download time" associated with that line of HTML?

Hmmm...

fuddmain
07-21-1999, 05:41 PM
I agree with Deb.[nbsp][nbsp]It's probably more worth while to make sure the HTML is as clean and effecient as possible.[nbsp][nbsp]This is especially true if you use a WYSIWYG editor.

You might end up with this:

<P ALIGN=&quot;LEFT&quot;><FONT FACE=&quot;Times&quot;>Some text.</FONT></P>

When all you need is this:


Some text.</P>

Secondly, I doubt it would deter code piracy.[nbsp][nbsp]At least you're not going to deter the determined.
------------------
Brian

Justin
07-21-1999, 08:20 PM
Stephen,

Also keep in mind that a tab is only one character, even though it appears to be 5 to 10 spaces... although I indent code using 3 spaces :)

------------------
Justin Nelson
FutureQuest Support