PDA

View Full Version : Optimize Web pages, for faster downloads??


hogtied
03-20-2003, 10:32 PM
Hello,

I was wondering if any of you (members) know of a good hopefully great program that optimizes your webpages by removing uneccassary lines and spaces? I came across one called Advanced HTML coder. But not sure if it's any good.

For instance i have a page that dreamweaver reports is 91K and 25sec to download on 56K. after removing uneccassary spaces and lines (manually, :mad: ) dreamweaver reported 75K and 13sec to download.

ANY RECOMMONDATIONS?????

Thanks

Quiet Storm
03-20-2003, 10:54 PM
UltraEdit32 (http://www.ultraedit.com) has a feature like that. :)

meow
03-21-2003, 12:22 AM
Here's small free one:
http://www.freesoft.fsnet.co.uk/html01.htm

Doesn't DW come bundled with HomeSite? It should be able to compress and join lines I think. But then I could be wrong. :o

Vladdy
03-21-2003, 12:22 AM
And if you code your page manually without using tables, I bet you could reduce the size by another half :D :D :D

hogtied
03-21-2003, 02:32 AM
Great I'll try those websites. As for HomeSite, I only bought DW, not the package.

And about not using tables. That would be a pain in the butt to design the webpage the way I want it to look.. a whole bunch of <br> tags and "&nbsp", I mean a whole bunch..

Thanks though.. ANY ONE ELSE???

Much appreciated.

Vladdy
03-21-2003, 01:03 PM
Originally posted by hogtied
And about not using tables. That would be a pain in the butt to design the webpage the way I want it to look.. a whole bunch of <br> tags and "&nbsp", I mean a whole bunch..


You still have a lot to learn :rolleyes: :rolleyes:
http://www.w3.org/TR/REC-CSS2/

hogtied
03-22-2003, 07:46 AM
Are you saying that I could design a webpage solely on CSS, no tables or line breaks and spaces?

I appreciate the line. I will deffinetly read it. LOTS of reading..

Jerome
03-22-2003, 09:40 AM
F.e.

HTML with DIVs: 4kb

External CSS-file: 3kb

External JavaScript-file: 3kb

Image:26 kb

So when I ieave the image out: 10kb

Simplicity is my key-word......

Jerome

meow
03-22-2003, 11:59 AM
One can easily save 2 Terrabytes a day. :rolleyes:

http://devedge.netscape.com/viewsource/2003/espn-interview/01/


:D

hogtied
03-22-2003, 01:19 PM
hey meow, I've read the article and checked out the site. pretty fast for a 53k page. Although they shut me out from viewing there source.

Here's my problem I have an 89k page by Dreamweavers reader, and a download speed est. 25sec on 56k. The page itself is only 72k. I tried the HTML Compress program and it got the HTML file down to 45k. and 18sec to download.

I am understanding from what your telling me is that using tables is not a good thang. That in fact i should used External CSS, External Js, DIV's??

and jerome: if the ExCSS is 3kb and the ExJs is 3kb, what's the difference of having them internal or ext. In my opnion it would still be the same size. instead you would have a HTML page that's 10kb

if you want check the site out tell me what you think

Best Hotel .com (http://www.besthotel.com)

meow
03-22-2003, 01:39 PM
:D Actually it's a bag of poo. They say they are redesigning in public but really...
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fespn.go.com%2F&warnings=yes&spider=yes

DIVs? Sure, use them to group things but don't replace 'real' HTML elements them.

Nightfire
03-22-2003, 01:51 PM
Originally posted by meow
:D Actually it's a bag of poo. They say they are redesigning in public but really...
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fespn.go.com%2F&warnings=yes&spider=yes


:eek: does that page ever stop downloading? it's huge :eek:

hogtied
03-22-2003, 11:52 PM
for some reason I was not able to view their source code yesterday but today I copied it and pasted into Dreamweaver. Now I'm used to just adding tables here and there and some layers as well. But to code what they have takes a long time. I tried recoding the header of our page and that took about half an hour. It may be that I am not used to coding that way and other things. I was wondering maybe they used a different program like HomeSuite or ColdFusion. And with 252 errors it's not all that great...

I don't know but most deff a reason to look into it.

Thanks guys very informative...

meow
03-23-2003, 05:26 AM
Originally posted by Nightfire
:eek: does that page ever stop downloading? it's huge :eek:
I checked the option to check the whole site. Have to do things properly. :D

meow
03-23-2003, 05:35 AM
Originally posted by hogtied
for some reason I was not able to view their source code yesterday but today I copied it and pasted into Dreamweaver. Now I'm used to just adding tables here and there and some layers as well. But to code what they have takes a long time. I tried recoding the header of our page and that took about half an hour. It may be that I am not used to coding that way and other things. I was wondering maybe they used a different program like HomeSuite or ColdFusion. And with 252 errors it's not all that great...

I don't know but most deff a reason to look into it.

Thanks guys very informative...

I don't think that site is ready yet - not good to learn from. If you want to see what it's all about go to http://tantek.com/favelets/ and add the bookmarklet "Disable Style Sheets" to your link bar or Favorites.

Then find a list of CSS designs somewhere, go view the sites and disable the style sheets and you'll see the magic at work. Here's a very pretty one to start with. No oddities in the HTML there.

http://www.cinnamon.nl/