JavaScript to Footer

This plugin automatically moves JavaScript code to page footer, speeding up page loading time.

Author:Vladimir Prelovac (profile at wordpress.org)
WordPress version required:2.3
WordPress version tested:4.2
Plugin version:0.4.1
Added to WordPress repository:02-12-2008
Last updated:22-12-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:58
Rated by:16
Plugin URI:http://www.prelovac.com/vladimir/wordpress-pl...
Total downloads:78 856
Active installs:900+
plugin download
Click to start download

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."

WordPress default behavior is to load javascript in the page.

This plugin will move all javascript code to the footer if the plugins have declared javascript properly.

Plugin by Vladimir Prelovac. Looking for WordPress Services?


FAQ