JavaScript to Footer

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 <head> page.

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

Download

dl WP Figlet

Installation

1. Upload the whole plugin folder to your /wp-content/plugins/ folder.

2. Go to the Plugins page and activate the plugin.

3. Try your blog and check if all plugins work properly. Footer JavaScript may break some plugins so check everything first!

Frequently Asked Questions

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.

Other

You can also visit my other WordPress Plugins.

If you are looking for WordPress services, feel free to contact me.

4 Comments

  1. Jul 2nd, 2016 (4 weeks ago) 8:29 AM

    oh not bad site good like
    Worked like a charm. Thanks.

  2. May 4th, 2016 1:14 PM

    nice site thanks a lot admin . your very good

  3. Jul 10th, 2015 8:59 AM

    This plugin very awesome ! Web site speed was increased.
    Thanks for sharing.

  4. Mar 25th, 2015 12:20 AM

    Cool stuff. I tried this on a site my host said was overloaded and slow. I didn't want to pay for a VPS, so I started looking around... Worked like a charm. Thanks.

Have your say

Your email is never published nor shared. Required fields are marked *

*
*