hosted by liquidweb


Go Back   Web Hosting Talk : Other Forums : Web Hosting Lounge : Increasing percieved download times
Reply

Web Hosting Lounge Forum for general conversation, share interests, have a laugh or discuss topics not related to the above or below forums.
Forum Jump

Increasing percieved download times

Reply Post New Thread In Web Hosting Lounge Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-26-2000, 07:13 AM
chilliboy chilliboy is offline
Junior Guru Wannabe
 
Join Date: Oct 2000
Posts: 68
Cool

Hi,

I'm trying to get the percieved download time of my page down and was wondering if anyone can throw in some useful advice.

What I want is the text of my page to download quickly, and then the graphical ilustrations to stagger in as the page continues to load.

The total HTML of the page is only about 15K but there are about 50K worth of graphics. I have placed all the text and graphics in one table cell and used some trick alignments to reduce the html from multiple tables and cells. I'm not currently online yet so can't test these theories out. But I'm guessing the html and text should come up really quick, with the graphics staggering in. Should this work? Or would it be better to put the text in one table cell, then the graphics in an adjacent table cell. What I don't want is the whole table cell to only appear after all the graphics have down loaded.

Your thoughts are appreciated.


Reply With Quote
Sponsored Links
  #2  
Old 10-26-2000, 12:39 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
When the page doesn't load quickly due to a table (or all at once), it is usually due to having the table widths as percentages, and further complicating the whole thing, with tables inside tables inside tables -and mixing hard pixel values with percentages.

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #3  
Old 10-26-2000, 02:05 PM
etLux etLux is offline
Web Hosting Master
 
Join Date: Oct 2000
Location: Moldavia
Posts: 1,177
Chicken's right (as usual) on how the HTML interpreters in (most versions of) the browsers work.

The less work you make the interpreter do, the faster the page will "present".

That means explicit dimensioning of images and tables (avoiding percentages entirely if you can -- not always easy), because oftentimes page layout cannot be calculated by the interpreter until all the elements are parsed.

Nested tables are also a problem, because the interpreter needs to get through the entire "nest" before it can present.

Stacking tables with lesser vertical height is also good technique, since it speeds "top-down" processing by the interpreter.

__________________
etLux
CodeLifter.com Free JavaScript

Reply With Quote
Sponsored Links
  #4  
Old 10-26-2000, 05:52 PM
BC BC is offline
Web Hosting Master
 
Join Date: Apr 2000
Location: 80,000 feet under the sur
Posts: 2,736
As a side note, you can use the tools available at http://www.netmechanic.com to help you determine load time..

__________________
My 2 Cents.... (or is that 2.2 cents inc. GST...?)

Have a think about this : Programming is like sex. Make a single little mistake, and you'll be supporting it for the rest of your life.

Reply With Quote
  #5  
Old 10-26-2000, 05:57 PM
etLux etLux is offline
Web Hosting Master
 
Join Date: Oct 2000
Location: Moldavia
Posts: 1,177
One caution on NetMechanic-like services: I have very definitely noted and confirmed that their evaluation of HTML code is often flaky, especially if there is a goodly amount of nesting. It also seems that many of them have a problem with certain types of FrontPage comments, typically those used with editorial includes.

__________________
etLux
CodeLifter.com Free JavaScript

Reply With Quote
  #6  
Old 10-26-2000, 06:31 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
Also, it doesn't seem to actually test the download speed. I tested it on two servers, same file, same result. This would be fine, but one of the servers tested was faster (better server, better connection). So check download speeds but keep this in mind: results are not valid.

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #7  
Old 10-26-2000, 06:34 PM
etLux etLux is offline
Web Hosting Master
 
Join Date: Oct 2000
Location: Moldavia
Posts: 1,177
Most of these services don't actually test the speed -- they simply calculate it based on the size of the html file and the image resources used in the page. They also typically ignore the loading of things like JAVA applets, and any resources they might use.

But hey, whaddaya want fer free... lol.

__________________
etLux
CodeLifter.com Free JavaScript

Reply With Quote
  #8  
Old 10-26-2000, 06:44 PM
etLux etLux is offline
Web Hosting Master
 
Join Date: Oct 2000
Location: Moldavia
Posts: 1,177
Just a thought, by the way, but it's easy enough to build in speed testing on a page.

You simply grab the current time in the header with a JavaScript call; then use an onload= JavaScript call in the <body> tag to grab the time again (after the page has fully downloaded).

Subract the start time from the end time; then writeln the results discreetly to the end of the page.

A more elaborate example of this idea is exercised here:

http://webservices.cnet.com/bandwidth/

[Edited by etLux on 10-26-2000 at 06:49 PM]

__________________
etLux
CodeLifter.com Free JavaScript

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Wireless Symposium 2013 Web Hosting Events 2012-12-05 13:41:13
File Sharing Service RapidShare Changes Traffic Model to Deter Piracy Web Hosting News 2012-11-09 12:16:35
VMware Study Finds 62 Percent of Indian Organizations Increasing Cloud Training Budgets Web Hosting News 2012-10-30 16:49:55
Web Host SoftLayer Launches Windows Phone 7 and iPad Apps Web Hosting News 2011-09-27 20:41:43
3 ways to grow your business – Part 3 Blog 2011-05-26 04:04:45


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?