Defer JS [Deleted]

Deferrer feature of BD Cache appears to be doing something similar with this one.
I've decided to stick with this add-on's deferrer when it comes to JS deferring, instead of [bd] Cache. AFAIK this add-on won't defer JS on any Admin CP pages (at least mine won't - although I believe I got the idea from this add-on), so it also won't touch exported XML files from Admin CP (for example, exported XML files of Styles). It's not unusual for styles to have some <script> tags on a few of the templates, but when I used [bd] Cache's deferrer, it would also defer JS on any Admin CP pages, including exported XML files, and it kinda moved <script> tags from different templates into where it didn't belong to.
 
Thanks, I'll ask the same question there.

I installed this addon, and it doesn't appear to have changed anything in terms of my Google PageSpeed Insights. Is that normal? Am I missing something? The same 10 items are recommended to be deferred.

Code:
http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js
http://stratics.com/js/xenforo/xenforo.js?_v=9510fde7
http://stratics.com/…j/ams/jquery.bxslider.min.js?_v=9510fde7
http://stratics.com/…ngallery/min/media_slider.js?_v=1b06f603
http://stratics.com/…ark/functions.min.js?_v=9510fde7_1.4.7.1
http://stratics.com/…ault/resources/js/y/yui/yui-min.js?v=406
http://stratics.com/vault/resources/js/base.js?v=406
http://stratics.com/vault/resources/js/xf/base.js?v=406
http://stratics.com/vault/resources/js/bbcode.js?v=406
http://stratics.com/vault/resources/js/xf/bbcode.js?v=406

Indeed while my scripts are slightly different, after running this for two weeks, I too am having the same issue where PageSpeed is still recommending this, and remove render blocking Javascript?
 
That's weird, this add-on's deferrer have been working too damn properly on my site for months now.
In fact, I'm getting 100% score for 'Defer parsing of JavaScript': https://gtmetrix.com/reports/forums.endlesshorizon.net/raNGscYf

The only thing that prevents me from getting 99% on PageSpeed score is the sharrre JS plugin that I've been using for social share buttons (kinda need the plugin to fetch share count, and to fetch them, requests to social media sites are required - although I'm planning to make the server handle such fetching in the near future, thus making it possible to get 99% PageSpeed score). - Though I don't know why I'm telling this.
 
Hmm just run a test and it worked as showing 100% yet PageSpeed said no.
Odd....
Going by this result I have more to work on too anyway!

test.webp
 
Yeah, while mine said 100% for defer JS, it also said that there were 10KB or so inline JS that could be parsed, but since that's all there was to it, PageSpeed regarded that as fully passing. I assume it was pretty much the same on your case. If there was nothing but a few KBs of inline JS on their suggestion, and that the score was already 100%, you have nothing else to worry about, the add-on have already worked perfectly.
 
It would seem so, as such I think I will work on the rest, tidy up other things and bring that score up/down. It's probably some other things like cometchat which won't help either.
Thanks for taking the time to reply. :)
 
Indeed while my scripts are slightly different, after running this for two weeks, I too am having the same issue where PageSpeed is still recommending this, and remove render blocking Javascript?
With the member you quoted, his scripts actually weren't being deferred for whatever reason.

You should see all your <script> tags right before the </body> tag if you view the HTML source of a page on your site. If that is the case, the add-on is doing all it can do.

If that's not the case, something is interfering.

Note that PageSpeed Insights results often differ slightly from the results of the PageSpeed browser extension (which is what GTmetrix goes by). The browser extension is more comprehensive I believe.
 
This is just pure awesomeness!

This add-on has decreased the page load by more than 50%. I didn't even know that such add-on is existed!

@Jeremy P Thank you so much for creating such brilliant add-on!
 
They do pretty much the same thing, though this one automatically disables it under certain situations where it's likely to cause problems (like attachments, the admin panel, wysiwyg POST requests).

If the other one isn't causing you problems, you're probably fine using it.
 
Just installed this and now getting reports from users saying they can no longer post. I am using audento xenith theme
 
Just installed this and now getting reports from users saying they can no longer post. I am using audento xenith theme
Working fine for me with Xenith.
You may need to put a script in the blacklist? admin.php?options/list/jrahmy_deferJs
Nothing specific UI.X/Xenith related in mine, but maybe its related to another add-on you have?
 
Working fine for me with Xenith.
You may need to put a script in the blacklist? admin.php?options/list/jrahmy_deferJs
Nothing specific UI.X/Xenith related in mine, but maybe its related to another add-on you have?
Thanks will give it a try
 
@gavpeds If you like, you can PM me with a link to your site (and possibly an account to test with) and I'll have a look.
Thanks.

I am not sure it is this really as it seems to only be a select few members who are experiencing this. I'd imagine if it was this it would affect everyone.
 
Anyone have any issues using this addon while using @Mike Creuzer ad monetize add-on? I'm using it to display adsense ads and have noticed when Defer JS is enabled the ads become extremely tiny - almost to the point where they can just barely be seen. Disabling the Defer JS plugin and all is fine?!
 
The only way I could get webmaster tools to verify my site was to disable the addon.

They want to see the asynchronous code between the head tags, and the addon pushes it into the body.
 
Top Bottom