We help IT Professionals succeed at work.


davlun20080 asked
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,
Watch Question

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!

optimizing tables is referencing to nesting of tables and absolute sizing vs relative sizing, etc
go to this ongoing discussion:

It is really informative.



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.



Check out these URLs:

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.


Can you give me your home page so I can see what you mean by breaking up tables verically.
do you mean:

t     t     t
a  *  a  *  a
b  *  b  *  b
l  *  l  *  l
e     e     e

This one is on us!
(Get your first solution completely free - no credit card required)


Thanks for the comments and the links,

Just glad to help.

Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.