The Yahoo! Exceptional Performance team recommends placing scripts at the bottom of your page because of the way browsers download components.
„The problem caused by scripts is that they block parallel downloads. The HTTP/1.1 specification suggests that browsers download no more than two components in parallel per hostname. If you serve your images from multiple hostnames, you can get more than two downloads to occur in parallel. While a script is downloading, however, the browser won’t start any other downloads, even on different hostnames.
In some situations it’s not easy to move scripts to the bottom. If, for example, the script uses document.write to insert part of the page’s content, it can’t be moved lower in the page. There might also be scoping issues. In many cases, there are ways to workaround these situations.”
Plugin by Vladimir Prelovac. Looking for WordPress Services?
Upload the whole plugin folder to your /wp-content/plugins/ folder.
Go to the Plugins page and activate the plugin.
- How do I correctly use this plugin?
Just enable the plugin and check your blog pages. If all plugins appear to be working correctly you are set!
Additionally you may install YSlow enchancment for Firebug, a popular addon for Firefox browser. YSlow will help you determine your site choke points.
- I love your work, are you available for hire?
Yes I am, visit my WordPress Services page to find out more.
Contributori și dezvoltatori
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.