JavaScript to Footer
This plugin automatically moves JavaScript code to page footer, speeding up page loading time.
The facts
- Rating
- 2.9★ from 16
- Active installs
- 500+
- Price
- Free
- Last updated
- 22 Dec 2014
- Added
- Dec 2008
- Requires WP
- 2.3
- Tested up to
- WP 4.2.39
- Downloads
- 81,418
Our analysis
AI-assistedJavaScript to Footer is a WordPress plugin designed to move JavaScript code to the footer of your web pages. This is based on recommendations from the Yahoo! Exceptional Performance team, which suggests that placing scripts at the bottom can improve page load performance by allowing other components to download in parallel.
The plugin works by relocating JavaScript that is properly declared by other plugins to the footer section of your site. It aims to enhance loading speed, particularly for sites that use multiple scripts.
Best for: This plugin is suitable for WordPress users looking to optimise their site's loading performance.
What it does well
- ✓Moves JavaScript to the footer to improve loading speed
- ✓Follows recommendations from the Yahoo! Exceptional Performance team
- ✓Free to use and open source
Where it falls short
- •Limited functionality as it only works with properly declared JavaScript
- •Last updated in December 2014, may not be compatible with newer WordPress versions
- •Low directory score and average rating from users
Verdict
JavaScript to Footer may help improve page load times for some users, but its effectiveness could be limited due to its outdated status and reliance on proper script declaration.
From the developer
Vladimir Prelovac's own description of JavaScript to Footer, lightly tidied.
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?
License
This file is part of Footer JavaScript.
Footer JavaScript is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Footer JavaScript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Footer JavaScript. If not, see http://www.gnu.org/licenses/.