Dear All Kindly let me know that how can we decrease load time of the websites if it takes 5 to 6 seconds
Hard to tell without looking at the site in question. Could be simply you have a slow host. Could also be that the site is rich with images and maybe you could compress them or use the repeat feature for image backgrounds.
Several techniques will reduce download time: - content compression (HTML/CSS/JS/Image files) via mod_deflate (Apache module) - expiring headers for caching content via mod_expires (Apache module) - no tables for site layout (makes rendering the site faster) - CSS in head, JS at bottom (site renders first and then loads JS that can lock rendering) - minifying/combining CSS/JS files (use only ONE CSS file and ONE JS file) - usage of a cookieless domain ... It begins with your code and ends with the server where you host your site. Front-End Performance Optimizing is one of my major jobs at the moment (doing that for business portals at the moment). I wrote some blog posts about those techniques and I have also written posts at EZine Articles and have some stuff at Scribd and Slideshare
Using CSS files can really improve your website load time, and also don't overuse images, add them only when appropriate.
CSS files are not responsible for slow download speed... As I mentioned before there are several techniques that will improve loading speed. If you use inline CSS there is not much difference to external CSS files. Only your code gets more messed up and fixing/changing something will get much harder. External CSS/JS files should be a standard procedure for any webdev/webdesigner/coder anyways... Besides that ... sometimes (not very often) inline CSS/JS should be used (especially when the script uses document.write to insert part of the page's content). Read more about it here: http://developer.yahoo.com/performance/rules.html
Lookup the PNGCRUSH utility for compressing PNG graphics/icons... also invest in a cdn if you can afford it.
CDN is too expensive... compressing graphics is not the only thing you should do, as I mentioned above! http://forums.digitalpoint.com/showthread.php?t=2009024&p=15333115#post15333115 I know what to do to speed up websites, god damnit
You have also to check the javascript codes. lots of javascript codes can also add load time of the pages.
It is possible that the speed is fine for your site and that the speed of your connection, network, ISP is the culprit?... hmm... As for optimizing your site, listen to @CSM... lol Cheers!~
Haha, thanks mate... Honestly ... this is what I am doing with all sites I run, all portals I am coding... optimizing for the best results (Google Page Speed score and YSlow !!!). Best I have is 98 Google Page Speed score and 99 YSlow ... nearly perfect, no?
The problem is probably your host, failing that you should compress the pages prior to sending them out to a visitor.
Ya, its hard to tell without looking at your website, or, let me know the average time your website takes to load on a fresh browser. There are lots of factors, which affect the speed of a web page, so without any information we cannot judge the reason or solution for this problem.
CSM : You are a Master.... I like It. sanjay1234 : if you use wordpress, I suggestion you use a plugin wp super chace, w3 total cache or wp db reload cache. I usually use wp super cache + db reload cache for decrease load time in my blog. Good luck brother......
For WP I suggest to read my blog post http://www.cookielessdomain.com/blog/2010/09/boosting-the-loading-speed-of-your-wordpress-blog/
Mostly flash get more time, if ur site is image website, just split and cut the image and load it.. it will reduce the site weight..it will load faster
My suggestion since apparently the theme here is to repeat what others have said is listen to CSM lol. Can't beat a post with every solution. Why this has so many replies after your first post is beyond me. Nearly 15 Useless post... including mine