Solved

Optimizing

Posted on 2000-03-01
9
256 Views
Last Modified: 2010-04-09
Hi There,
I was reading a note in a job advertisement and it mentioned the need to know how to optimize tables and pages to load fast, they referred to it as production code.

I know about page size and such, but what are they talking about when it comes to optimizing tables and pages for speed?  What tricks are they referring to?

Thanks for any help,
davlun
0
Comment
Question by:davlun20080
  • 5
  • 3
9 Comments
 
LVL 2

Expert Comment

by:egbservices
ID: 2575792
I have learned to keep the pages and the graphics small in size, uncluttered, cross platform compatible, use the standard colours, us standard fonts, no frames, no automatic links to other sites (counters, statisical stuff, public cgi-bins, etc.) stay away from sounds and so on! The real idea as far as I can see is to speed up the loading of the pages...
The to URL's can give you some ideas too!
http://websitegarage.netscape.com/
http://www.delorie.com/web/
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 2576904
optimizing tables is referencing to nesting of tables and absolute sizing vs relative sizing, etc
go to this ongoing discussion:
http://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=10299084

It is really informative.

CJ
0
 
LVL 3

Author Comment

by:davlun20080
ID: 2577181
Hi CJ,

I think I was looking for more that a link to an ongoing questions but the info on the table was similar to what I thought.

I am really trying to find out what separates the production code from not, the tricks to making a page load fast in the different browsers and so forth.

Will reopen for now to see what other discussion can be generated to see about the rest of the question.

Thanks and feel free to add info here for the points.

davlun
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 2577514
OK.

Check out these URLs:
http://www.netscapeworld.com/netscapeworld/nw-02-1997/nw-02-bestpract.html
http://www.pantos.org/atw/speed.html
http://www.netmechanic.com/

The main page of your web site should load in 8 seconds or less with a 56K modem. According to two recent surveys, conducted by Forrester Research and Gartner Group, ecommerce sites are losing $1.1 to $1.3 billion in revenue each year due to customers click-away caused by slow loading sites. If a page takes too long to load, your potential customer will not wait. Ultimately costing you business.


Use graphics sparingly to convey information. Each graphic takes another trip to the server. Consolidate neighboring graphics or use CSS'd text or table cells with background colors to speed display. WebMonkey has a policy "use graphics for graphics and text for text, not graphic text." Size graphics to fit in a typical user's window (a maximum of 465 to 532 pixels wide [i.e., the default Netscape screen to a printed page], or for max screen space viewable on all platforms use a max of 580 pixel wide tables to fit on Mac screens). It's easy to see if a site's been designed on only a PC, the page is too wide on a Mac, typically 620-640 pixel wide tables fit a PC's monitor but are too wide to display on a 14-15" Mac monitor.

Break up your tables vertically for a cascading load to appear more responsive (we use this technique on our front page). One huge table takes much longer to display content than stacked smaller tables which display one at a time. Microsoft's IE5 has a FIXED table width feature that speeds table display, unfortunately this is proprietary and does not work on Netscape's browser.

Optimize graphic file size for Web display (a maximum of 20 KB per graphic). Utilize page display speedups such as the WIDTH and HEIGHT attributes for images. Use JPEGs where possible and appropriate (continuous-toned images) and minimize the color palette of GIFs to optimize file size. Provide text alternatives to graphics for low-bandwidth users, the blind, and for speed. ALTernate text tags for images should be functional, not descriptive. If the graphic has no function, use ALT="" (i.e., <IMG SRC="pics/splash.jpg" ALT="">).

Optimize your HTML by removing excess spaces, comments, tags and commentary, especially on your home page, to minimize file size and download time. Products like Antimony Software's Mizer and VSE's HTML Turbo automate this process by removing excess characters and HTML to optimize your HTML and JavaScript. I manually tune our home page for minimize file size (typically 14-15K for the HTML page), but these products can help even file-size obsessed webmasters like myself. These products are drag and drop, and should be used as the last step before you upload your page (the files are harder to read after many of the returns are removed). After optimization your pages will appear to snap onto the screen.



0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 19

Expert Comment

by:cheekycj
ID: 2577522
0
 
LVL 3

Author Comment

by:davlun20080
ID: 2577617
CJ,
Can you give me your home page so I can see what you mean by breaking up tables verically.
do you mean:
table
***
table
***
table

or:
 
t     t     t
a  *  a  *  a
b  *  b  *  b
l  *  l  *  l
e     e     e

Thanks,
davlun
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 75 total points
ID: 2577731
I can't show you my front page because it is on an intranet and our internet site uses FLASH so tables aren't needed but what I mean is instead of using a table that is large:
<table>
<tr> <td colspan=2> header</td></tr>
<tr> <td> left bar</td>
     <td> content</td></tr>
<tr> <td> footer</td></tr>
</table>

it is better to have:
<table>
<tr> <td> header</td></tr>
</table>
<table>
<tr> <td> left bar</td>
     <td> content</td></tr>
</table>
<table>
<tr> <td> footer</td></tr>
</table>

CJ

0
 
LVL 3

Author Comment

by:davlun20080
ID: 2578580
Thanks for the comments and the links,
davlun
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 2581257
Just glad to help.

CJ
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now