By Sean on Saturday, 29 July 2017
Posted in General Issues
Replies 7
Likes 0
Views 581
Votes 0
Hello,

My website is running through CloudFlare. When I enable "RocketLoader", and test my website speed via GTmetrix.com, the desktop version of the site gets B's which I'm happy with for now. However, when I test with a Galaxy Nexus, I get E's and a 22 second load time. It has 0's for defering parsing of Javascript whereas the Desktop version is at 92. How can I also defer the responsive site?
Which scripts / links are GTMeetrix pointing out to for your mobile tests?
·
Saturday, 29 July 2017 12:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark, please see the test results at the following pages:

Desktop Result

Responsive Theme result

For starters, under Recommendations, click on Defer parsing of javascript. You'll see what all should be parsed but is not.

Thanks.
·
Sunday, 30 July 2017 01:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

I believe the problem is not just EasyBlog. All the scripts on the page isn't deferred unlike the desktop, http://take.ms/1uzmJ . It seems like you are using Cloudflare to defer most of these scripts on the desktop.

Does cloudflare supports deferring scripts on mobile? If I recall correctly, there is an issue with mobile devices when you defer scripts this way.
·
Sunday, 30 July 2017 14:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Right. I'll contact CloudFlare. Wasn't sure if there was code or something that I could implement in EasyBlog at least for that script to be deferred seeing as it's the largest.

But it's probably easiest to go after the main source of the bigger problem, CloudFlare.

I'll update once they reply so we know for sure.

Thanks Mark.
·
Monday, 31 July 2017 01:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright Sean, keep us updated then.
·
Monday, 31 July 2017 10:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey guys,

I've received an update from CloudFlare support and was told

Stephen K. (Cloudflare)
Aug 3, 11:44 PM BST

I don't think Rocket loader is to blame here. Many of the suggestions are pretty straightforward.

For example:

JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

Simply move your js files to the bottom the page to defer parsing.


I disagree with him here, so not sure what to do now?
·
Friday, 04 August 2017 07:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

Hm, if I recall correctly, you had to install some plugins to activate Cloudflare so that scripts would be deferred on the page. Am I correct?

When cloudflare defers these scripts, it is actually done by their javascript library and we don't actually have control over this.

Either way, to be honest, I think that the guide provided by gtmetrix is just a guide and it doesn't necessarily needs to be deferred. With internet speed on mobile these days, I don't think deferring scripts does help a lot. Especially when you have a site with different plugins installed, deferring is almost entirely impossible
·
Monday, 07 August 2017 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post