[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

Optimizing

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
davlun20080
Asked:
davlun20080
  • 5
  • 3
1 Solution
 
egbservicesCommented:
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
 
cheekycjCommented:
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
 
davlun20080Author Commented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
cheekycjCommented:
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
 
cheekycjCommented:
0
 
davlun20080Author Commented:
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
 
cheekycjCommented:
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
 
davlun20080Author Commented:
Thanks for the comments and the links,
davlun
0
 
cheekycjCommented:
Just glad to help.

CJ
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now