Forum Moderators: open

Message Too Old, No Replies

file compressing

html compressor

         

HuhuFruFru

12:57 pm on Jan 9, 2003 (gmt 0)

10+ Year Member



there is this tool "html compressor", i'm sure you all know it- it basically just kicks out the empty spaces between the tags and usually saves 1/3 of html-files (at least for my files).

of course the code after "compressing" looks very strange, but i'm okay with that.

question is: do search engines spiders have a problem with that? everything is in just "one single line".
but it shouldn't be a problem to them or am i wrong?
i really need this tool, because it saves me sooo much kilobytes!

korkus2000

12:58 pm on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Spiders don't care how it looks. As long as it is valid you are ok.

HuhuFruFru

1:01 pm on Jan 9, 2003 (gmt 0)

10+ Year Member



thx korkus :)

victor

1:09 pm on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My sites are pretty thoroughly de-whitespaced as is WebmasterWorld. Shouldn't be a problem

It'll save you server load by having them count your pages as 10% to 30% smaller -- useful if you pay by the gig.

I'm not so sure it saves download time significantly. Most modem-to-modem tranfers are compressed anyway, or so I believe. Can any one confirm this, or try some tests?

And watch out, of course, if you have pages that are displayed "pre" (= "as is") to preserve indentation. They need their spaces.

And it won't save time on images.

brotherhood of LAN

1:17 pm on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Most WYSIWYG and text code editors have some sort of function that will do the same job.

Saves you going online or buying someones online product to do the same job.

Usually you can replace newlines by replacing \r\n on windows and \n on other OS's. AFAIK

You can do this sort of thing on DW and Notetab Pro from the editors I have......which is handy considering there is a useful program attached to the tool :)