[thelist] Site Loads too Slowly

Joe Crawford jcrawford at avencom.com
Tue Jun 12 19:00:44 CDT 2001


"Stephens, Ann" wrote:
> > I've just updated a site (http://www.ci.concord.ca.us) that uses
> > JavaScript menus (from Fireworks popup feature) and has a few more
> > graphics than I've used in the past. The site loads too slowly and I'd
> > like suggestions on getting it to load more quickly. I think it's the
> > JavaScript that's the main culprit. The menus and the script that runs
> > them are being called from the pages. I noticed these scripts have been
> > cached on my computer so I'm assuming they're quicker to get to than if
> > they weren't. (I did a test without the fancy menus and the page loaded
> > pretty quickly.) Any help would be greatly appreciated!

the html and css files:
http://www.ci.concord.ca.us/index.htm               <-- 11k
http://www.ci.concord.ca.us/Templates/general.css   <-- ~1k

and for the javascript:
http://www.ci.concord.ca.us/Templates/load_menus.js <-- 25k
http://www.ci.concord.ca.us/Templates/fw_menu.js    <-- 34k


and the images:
43k
http://www.ci.concord.ca.us/graphics/imagesforpage/homepage_r2_c1.gif
 7k http://www.ci.concord.ca.us/graphics/familyfirstlogo.gif
 5k
http://www.ci.concord.ca.us/graphics/imagesforpage/homepage_r5_c1.gif
 4k http://www.ci.concord.ca.us/graphics/imagesforpage/parkinggarage.jpg
 2k http://www.ci.concord.ca.us/graphics/citylogo.gif
 1k http://www.ci.concord.ca.us/graphics/imagesforpage/submenuslice.gif
 1k http://www.ci.concord.ca.us/graphics/imagesforpage/topslice.gif
~1k http://www.ci.concord.ca.us/graphics/imagesforpage/topspaceslice.gif
~1k http://www.ci.concord.ca.us/graphics/lighton-tiny.gif
~1k http://www.ci.concord.ca.us/graphics/sunicon20px.gif
~1k http://www.ci.concord.ca.us/graphics/imagesforpage/spacer.gif

I *think* I got them all.

So for the html+css we have 11k.
for the javascript we have 59k.
and for the images a rough total of 64k. 

Combined total roughly 134k.

Add to that the execution time of all the javascript, not to mention
this 134k of stuff all has to download before the menus will be active,
and you get slow.

	- Joe <http://artlung.com/>
-- 
...................  Joe Crawford \\ Web Design & Development
.....  mailto:jcrawford at avencom.com \\ http://www.avencom.com
.... San Diego \\ CA \\ USA \\ AVENCOM: Set Your Sites Higher




More information about the thelist mailing list