Log in

View Full Version : can anyone tell me how to make our site loaded faster?



smansakra
01-16-2009, 07:32 AM
can anyone tell me how to make our site loaded faster from site's code itself?
i'm running the site that using dolphin software version 6 ( www.smansakra.net.tc ), this site is loaded so long, i think there is a way to make it faster by modifying , deleting, fixing the script structure.

what i know is, this software will processing so many db connection when it's loading, does it influence loading speed?

thanks

Snookerman
01-16-2009, 07:44 AM
Download Firebug (https://addons.mozilla.org/en-US/firefox/addon/1843) (if you haven't already) and then install YSlow (http://developer.yahoo.com/yslow/) and run a test. It will tell you why your site is so slow (you got an F or 37%) and what you can do about it. If you have many images/logos/buttons and such, you should try to use image sprites (http://www.alistapart.com/articles/sprites/). Here is for example YouTube's image sprite: http://s.ytimg.com/yt/img/master-vfl72305.png (http://s.ytimg.com/yt/img/master-vfl72305.png)
If they would have used an individual image for all those things they would have had tons of http requests, instead they one have one. There are also other things you can do, for example, try not to use table for design, see this article:
http://s.ytimg.com/yt/img/master-vfl72305.png (http://s.ytimg.com/yt/img/master-vfl72305.png)

Good luck!