Page 1 of 1

Hot to Remove render-blocking JavaScript report from google

PostPosted: 30 Oct 2013, 07:31
by Melanie
I am trying to speed up my page loading for Google/Yahoo and keep getting the following error back when I run page speed tests on GTMetrix.com:

Remove render-blocking JavaScript:
http://www.mysite.com/arrowchat/includes/js/jquery.js
http://www.mysite.com/arrowchat/include ... uery-ui.js

Is there a way for me to correct this?

Kind regaRDS

PostPosted: 30 Oct 2013, 08:48
by Jason
You can use Google's JQuery and JQuery UI versions if you want, but you won't really see much of a speed increase if at all.

Code: Select all
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> 
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>


ArrowChat works with any JQuery version, so you can use a more recent version too.

PostPosted: 31 Oct 2013, 07:55
by Melanie
Hi Jason,

thanks for responding.

What do I do with that code? Do I put it in the place of the arrow chat code? Where do I put it?

Apologies if this appears a daft question

PostPosted: 03 Nov 2013, 03:40
by MBuchalik
This is jquery. So you can replace
Code: Select all
<script type="text/javascript" src="/arrowchat/includes/js/jquery.js"></script>
<script type="text/javascript" src="/arrowchat/includes/js/jquery-ui.js"></script>

with
Code: Select all
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>

I think...

Topic Closed

PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]