If you are concerned about website loading speed, you have probably come across Y!Slow, Firebug and many of the other web developer tools out there that assist users in diagnosing which components of their web pages are cause for slowdowns. The very first recommendation at the top of Yahoo!’s Best Practices for Speeding Up Your Website is to reduce the number of HTTP requests for your visitors. It does not matter how good the content might be on a page; if it takes too long to load you are going to lose visitors who have already struck the ‘BACK’ button after waiting 10 seconds!
A. Let’s get started
Before we get our hands dirty, however, we need to do a bit of homework first. This is essential for addressing point number 2.
C. Copy/paste all scripts into a single .js file
- Use comment notation in order to keep track of the scripts you are including in the combined file.
- Save the new document and upload it to your web server.
D. Test and implement
E. Troubleshoot when there is loss of functionality
F. Limitations of this technique
Thanks for reading and please share your comments.