Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Size matters....what affects website loading time?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU
 
OneGrassRoot Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 06:24 AM
Original message
Size matters....what affects website loading time?
I would imagine embedded videos are a huge size issue for websites, and that I must be mindful of size and number of images used.

Do widgets substantially slow down a website's loading time for those on dial-up?

Anything else that may be slowing a site that newbies such as myself don't consider?

Thanks. :)
Printer Friendly | Permalink |  | Top
Deja Q Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 07:33 AM
Response to Original message
1. Embedded videos to a point
The video starts as a link and is downloaded once the end user clicks the 'play' button.

Images - both quantity of and size of each matters. Also consider many smaller ones are perceived to load faster than one giant one. Adobe Photoshop, by far, has the best size/quality ratio of any web-friendly app I've used...
Printer Friendly | Permalink |  | Top
 
OneGrassRoot Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 07:57 AM
Response to Reply #1
2. Oh wow, you changed your name!
Hi there :)

What about widgets? Are they comparable to small images, or is there something that makes them difficult to load in some way?

Thanks for the tidbit about multiple small images versus one large image.

:)
Printer Friendly | Permalink |  | Top
 
RoyGBiv Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 03:30 PM
Response to Reply #1
3. Embedding videos ...

It's a bit more complicated than that.

A page with a slew of embedded flash videos will have significantly altered load times. While the entire video is not loaded, the "player" is, for each instance of an embedded video, and one frame of the video will be displayed.

I've been dealing with this for a site I took over from someone else. It's structured so that some pages have dozens of videos on it, and the damn thing is just a snail on load times. I'm currently trying to break it up into smaller pages to improve this.
Printer Friendly | Permalink |  | Top
 
ChromeFoundry Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 09:16 PM
Response to Reply #3
4. shouldn't the player load from the client's cache?
...unless you have a pragma for immediate expiration on the player's source?

I can see the first visit having a slight lag while the player caches.. but after that, I would expect it to haul ass.
Printer Friendly | Permalink |  | Top
 
RoyGBiv Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 10:10 PM
Response to Reply #4
5. It doesn't ...

... or it isn't.

I suspect what I'm experiencing is either a bug in flash and/or Firefox, a problem with NBC's site, or something wrong in the object code I have, which I didn't create and don't understand entirely.

Just before I came here, in fact, I had a page open with five videos embedded from NBC's site. I'd pressed play on none of them. My processor was steady at 60% usage for about ten minutes, and Firefox was consuming about 300 Mb of memory. When loading the page, each player seemed to load separately, top first, then the bottom two, then the other two. One took a long time to display the first frame. Also, the initial rendering of the other page elements, which are minimal, was perceptibly slow.

I closed just that one tab while doing nothing else, and the CPU dropped off to around 2%.

I'm still experimenting. I've actually not dealt with this directly before and so am not entirely sure what I'm doing here. I've noticed that Talking Points Memo has become hellaciously slow lately, but I chalked that up to ten tons of javascript running.

Printer Friendly | Permalink |  | Top
 
ChromeFoundry Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Feb-16-09 11:26 PM
Response to Reply #5
6. May want to grab a capture with WireShark...
just to see if you are experiencing a JavaScript rendering lag or actual lag due to network traffic from multiple downloads.

I loaded TPM in <1.5 seconds with FF 3.0.6 on XP SP3.
Printer Friendly | Permalink |  | Top
 
RoyGBiv Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-17-09 01:23 AM
Response to Reply #6
8. I'll do that ...
Does your load time for TPM include allowing all javascript? I tried it just now both ways, with just YouTube allowed and then with everything. I got a similar time as you with YouTube allowed, but when I turned on everything and refreshed, it slowed way down.

And everyone ignore my comments that begin this sub-thread. I jumped to a conclusion. I should stop that. Was experiencing frustration with this mess. (Side Note: These pages I've been working on a real disaster areas. I've lost count of the number of classes called that aren't even in the css doc, the empty elements, long streams of <br /> for no damn good reason, etc. This is gonna take forever.)

I think I figured out some of this. It does seem to be, somewhat, the NBC site, more specifically the code they give you for embedding their videos. I stripped it down to the object element, and things loaded a bit faster. I *think* this may have something to do with NBC's player and the way it works.

Also, embedded videos from YouTube don't have quite the same problem. I have a page with about a dozen of them, and nothing is lagging there.

Going to bed ...

I'll check for rending lag tomorrow. I'm pretty sure it's not network lag. I'm only experiencing problems with these pages ... and TPM with all the javascript, but that's been for awhile from multiple computers at various locations.
Printer Friendly | Permalink |  | Top
 
ChromeFoundry Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-17-09 04:01 PM
Response to Reply #8
10. Most of the
JavaScript is failing for me, so my DL times are probably not accurate for you. tons of object not found errors.

My hosts file blocks google-analytics as well as most Ad sites. My guess is that your slow load times are JavaScript related.

I see the site also has a couple blocks of 'encrypted' JavaScript code: look for "hivelogic_enkoder()"

Sorry I can't be of more help.
Printer Friendly | Permalink |  | Top
 
Seldona Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-17-09 12:12 AM
Response to Original message
7. For Firefox users.
http://www.forevergeek.com/2004/12/make_firefox_faster/

This is mainly for broadband users. It does work though, in my experience.

There are links to other ways to optimize Firefox there, as well as how to avoid slowing down load times. I am sure there are ways to optimize IE as well. Just don't use it personally.
Printer Friendly | Permalink |  | Top
 
OneGrassRoot Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-17-09 03:37 AM
Response to Reply #7
9. Awesome. Thank you! :) n/t
Printer Friendly | Permalink |  | Top
 
Seldona Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-17-09 05:27 PM
Response to Reply #9
11. My pleasure.
That site is very useful for FF users imo. Glad you found something helpful.
Printer Friendly | Permalink |  | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-24-09 04:30 PM
Response to Original message
12. Sometimes DNS can cause slowdowns: if you have a webpage that
loads content from a number of other webpages, every one of those addresses involves a DNS look-up

So a visitor who doesn't have all the addresses already cached is going to be doing a lot of DNS look-ups

This isn't a problem if the visitor has a speedy connection and is using a browser with common DNS protocols

But it can be a problem: last year, Safari (under Mac OS X) defaulted to a DNS protocol that most DNS servers didn't use; the result was that pages typically tried and tried DNS look-ups before attempting a different protocol; if a page involved many DNS look-ups, then load times could sometimes run into the multi-minute range

Bottom line: some users may be grateful if you limit how much content must be retrieved from other sites for proper page display; for example, some people just won't wait around while a page with dozens of ads loads
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon May 06th 2024, 06:15 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC