New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Website(s) loading speed factors...


Post Reply New Thread Subscribe

 
Thread Tools
nicholast7

 
Member Since: Jun 25, 2007
Posts: 55
nicholast7 is on a distinguished road

nicholast7 is offline
I am trying out web publishing & trying to learn bits n pieces of it. One thing I have noticed is that some personal websites load rather slower compared to others. I am sure its not my connection problems.

So was wondering what factors have I got to look at & consider to get an idea of the loading time of a page?

Thanks.
QUOTE Thanks
michaelmjc

 
Member Since: Dec 18, 2004
Posts: 110
michaelmjc will become famous soon enough

michaelmjc is offline
How much graphics, text, videos, etc... and how big they are results in slower load times.
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Being human, there are other factors that appear to be 'speed' but are not. A lot of it has to do with perception...

If a page replies instantly and continues to render, it may appear faster. However a page that fully downloads first, THEN renders, is actually faster.
So if you have a rather large page, you may want to send it out in increments with the PHP "flush()" command or the CFML "<cfflush>" tag.

So why does this actually take longer?
* You're making the parser to stop what it's doing to send out parts.
* The web server must send out the parts.
* Your computer must get the parts.
* Your browser re-renders the page with every new part.
... in other words, you're wasting a lot of CPU all over the dang place. But it's worth it - because we are serving to humans, not stopwatches.

Another thing is complex tables, opacity, image types, image compression ratios, and of course, file sizes.

A long time ago, it was a tough game. You'd compress your images a lot so they'd be smaller and transmit faster. However you'd have to think of the slow computers back then. It might take longer to decmpress the image and draw it to screen than it would take to simply download a larger image!
Times have changed... CPUs are monsters compared to back then.

Complex tables take more CPU to render. So do a lot of DIVS with mucho CSS. Tableless designs are not the answer.

Using Opacity on CSS or IE's alpha filter will take a performance hit as well. Looks cool though.

Some image types take longer to render. Gifs are the quickest. It's probably not conceivable to the naked eye. But if you have lots of images on a page it might be a consideration.
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Oh, and once you decompress something, it how takes up a lot of ram/storage. Making everything slower.
QUOTE Thanks

Post Reply New Thread Subscribe


« Looking for a developer. | Server »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
internet speed/ vs router speed shusty Internet, Networking, and Wireless 4 06-15-2007 04:26 AM
Quick mouse speed adjuster enigmafyv OS X - Operating System 2 06-11-2007 09:31 PM
DC beltway crash Village Idiot Schweb's Lounge 72 06-07-2007 05:51 PM
Speed of Apple Intel dev systems impress developers jram Apple Rumors and Reports 15 01-12-2006 10:50 PM
High Speed Internet for G5 Temp Apple Desktops 3 01-27-2004 01:55 PM

All times are GMT -4. The time now is 08:16 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?