WordPress.org

Ready to get started?Download WordPress

Forums

WP Defer Loading
[resolved] Google still recommend Javascript etc. (2 posts)

  1. Fantastiko
    Member
    Posted 6 months ago #

    Hi there:

    First, let me say thank you for developing this plugin. This issue is one that has been bothering me greatly. So I installed the plugin via wp-admin, and these are my observations:

    1. Good: my scores on both desktop and mobile on Google rose a few points (about 5 points in each case).
    2. Not Good: Google still finds this a major issue "Eliminate render-blocking JavaScript and CSS in above-the-fold content". (See scrennshot below) -

    https://www.dropbox.com/s/pskhgscmtp60t35/Site_Performance4.JPG

    3. Not Good: There is some strange code on the header of the site (please see screenshot below).

    https://www.dropbox.com/s/8u8m24g2k6rupfk/Site_Performance5.JPG

    My site is http://www.churchpatrol.com/

    If you are able to fix it and get to work as advertize, this would be a lifesaver!

    Thanks;
    Serge

    http://wordpress.org/plugins/wp-defer-loading/

  2. bassjobsen
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Serge,

    Thanks for your feedback.

    1) nice

    2) "Eliminate render-blocking JavaScript and CSS in above-the-fold content". i don't known if this is about javascript or CSS only. I think that many sites can profit from defer loading of CSS, it's still an issue of the plugin: https://github.com/bassjobsen/wp-defer-loading/issues/3
    Finding the above-the-fold with a plugin won't be easy. I think evaluating common used CSS frameworks will be the first step. For example Twitter's Bootstrap has CSS for many plugins which are mostly under the fold. Also Glyphicons are, i think (about 10% of the code).
    Checking the CSS base for not used code should be the first step for everyone in this case. Also check for plugins you don't use any more, etc. etc.

    3) is your most complex question. The plugin only works when all your plugins and theme enqueue their scripts well, i wrote a blog about it:http://bassjobsen.weblogs.fm/wordpress-development-properly-load-javascript-set-dependency/. If you find out which plugin in your case gives the trouble, i will try to fix it for you, if it has an open license or write the author. I expect in your site some kind of leanmodal plugin can be the reason.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.