> WP HeadJS wordpress plugin resources analysis

WP HeadJS wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name WP HeadJS
Version 0.1
Author Brian Zeligson
Rating 0
Last updated 2012-06-17 05:52:00
Downloads
381
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
WP HeadJS plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

WP HeadJS plugin added 96900 bytes of resources to the Home page and 96951 bytes of resources to the sample Post page.

WP HeadJS plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! WP HeadJS plugin ads no tables to your Wordpress blog database.

This plugin uses the wp_print_scripts action hook, as opposed to output buffering and regex used by alternative implementations.

The downside of this method is that only scripts loaded via wp_enqueue_script will be affected by the plugin, the upside is better performance by avoiding output buffering on every page load.

The plugin will preserve any localizations added via wp_localize_script, and uses the first parameter passed to wp_enqueue_script as the label for the script in the head.js call. For example,

wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js');

would show up as

head.js({"jquery": "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"});

This allows you to run callbacks when specific scripts are ready, such as

head.ready('jquery', function() {
    //do something when jquery is loaded
});

For more on HeadJS usage, see http://headjs.com/

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Blue Clean screenshot

Blue Clean

by: techdesigns

8565
0%
OpenAir screenshot

OpenAir

by: jbbrwcky

97872
0%