Tagged: jQuery
-
AuthorPosts
-
October 16, 2013 at 10:16 am #176332
Hi,
I have noticed I have some render blocking JavaScript and CSS in the above fold content.
Some of it appears to relate to enfold.
I think some of it is because I updated to 3.6.1
Below is the messages I got:
Your page has 9 blocking script resources and 13 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://diabetes2.com.au/wp-includes/js/jquery/jquery.js?ver=1.10.2
http://diabetes2.com.au/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
http://diabetes2.com.au/wp-content/themes/enfold/js/avia-compat.js?ver=1
http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201342
http://diabetes2.com.au/wp-content/themes/enfold/js/avia.js?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/shortcodes.js?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/prettyPhoto/js/jquery.prettyPhoto.js?ver=3.1.5
http://diabetes2.com.au/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=2.13.0
http://diabetes2.com.au/wp-includes/js/mediaelement/wp-mediaelement.js?ver=3.6.1
Optimize CSS Delivery of the following:
http://diabetes2.com.au/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/css/avia-media.css?ver=3.6.1
http://diabetes2.com.au/wp-content/plugins/captcha/css/style.css?ver=3.6.1
http://diabetes2.com.au/wp-content/themes/enfold/css/grid.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/base.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/layout.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/shortcodes.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/prettyPhoto/css/prettyPhoto.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/mediaelement/skin-1/mediaelementplayer.css?ver=1
http://diabetes2.com.au/wp-content/uploads/dynamic_avia/enfold.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/custom.css?ver=1
http://diabetes2.com.au/wp-content/plugins/wp-about-author/wp-about-author.css?ver=3.6.1
http://diabetes2.com.au/wp-content/plugins/wordpress-23-related-posts-plugin/static/themes/vertical-m.css?version=2.9
http://fonts.googleapis.com/css?family=Open+Sans:400,600After some research I realised some of the problem is because WordPress 3.6 uses the newer (latest) version of jQuery, which is 1.10.2.
I read that 1.10 is higher than 1.2, but older versions of the jQuery.BlockUI code used by plugins have a little ‘buglet’ – the code tests for versions BUT drops the trailing ‘0’, so instead of asking is 1.10 greater than 1.2, it tests if 1.1 is greater than 1.2, and so it fails.
I would just like to make this work better and wonder what I need to do differently, I deactivated all my plugins but that did not help so I am stumped and as for the ones that refer to enfold I have no idea what to do with those.
- This topic was modified 11 years, 2 months ago by LollyGreen. Reason: put in wrong info
October 16, 2013 at 5:00 pm #176515Hello LollyGreen!
There isn’t really much you can do without a lot of editing to the theme in this case. The biggest boost in page speed would be using a caching plugin like WP Super Cache but the number of scripts loading in is because the theme separates some its css into multiple files and then plugins and dropins like jetpack will also load in some scripts before the page loads as well.
If it didn’t load these in before the page fully loads then the layout wouldn’t look right, anything that was using the javascript files to run wouldn’t look right and things like that.
The libraries that run the scripts are loaded at the end of the page load since they don’t change the look of the items and only add in the functionality however.
Regards,
DevinOctober 17, 2013 at 12:50 am #176767I am using WP Super Cache hopefully that is a good thing, I have another plugin that usually speed things up but with your theme it slows the page load down so I will go talk to them about that and see if I can get it to help things load faster.
My page speed is kinda ok for the desktop page load speed I just did not like seeing the errors, but the mobile part seems low to me at 71 out of 100 so unless I can get that faster I will have to add a separate mobile theme sadly.
Thanks for trying to explain things.
-
AuthorPosts
- The topic ‘Enfold google page speed problems’ is closed to new replies.