Hello guys, Here are some of my questions related to Javascript. 1) Can Javascript or Ajax codes affect the website performance? My website has a lot of ads like adsense, cpx, and I also use the Openx script. All of them run on javascript platform as well. On average, I have 4-5 ads per page. Will this increase my website loading time? Apart from the ads, I only use one single javascript code to implement my website's navigation menu. 2) My website loads pretty much the same speed as the other similar websites. But when I use the Pingdom.com's webtool to check the load test, I found out my website was categorized as Slow if compared to the others. Is it because I use plenty of javascript/Ajax (ads)? 3) I noticed many people start to use Ajax to replace flash slideshow. Can you share with me why Ajax slideshow is better than the slideshow created from Flash (SWF format)? Can anyone shed some light please. Thanks. Cheers,
1. Javascript should not ideally slow down website after it is downloaded. But if the javascript file is big in size, it can certainly affect page load time. 2. pingdom.com can conclude your website slow depending on size of script and different images you have. I would say, install YSlow, A Firefox extension from Yahoo and then test your site with it. It can help you lot. 3. So far I believe, not everyone is good with Flash and more over, javascript manipulations are easier. Also it has variety of library available to readily use.
Hi mastermunj, Thanks for the tips. How long have you been working in Web Development, I'm still consider a newbie, just started seriously 3 months ago. Nice meeting you. Cheers,