adlt93
Forum Replies Created
-
OK I fixed it, I had to change settings.
(I’m writing this in case anyone has the same issue in the future)
I just had to turn off “exclude JQuery” in the optimization settings of the LS Cache plugin.
Thanks for all your help!
Hello!
Yeah that makes sense. I just did a bunch on googling and that seems like a common issue, the solution seems to be lazy loading the video.
But again, like I said, there are still two more javascript issues.
First there’s inline javascript which I figure probably isn’t worth fixing on a relatively small website.
But there is also a .js file “/jquery.js?ver=1.12.4-wp” that isn’t being deferred, and that one is in my server as far as I can tell. Any ideas as to why that one isn’t being deferred?
That might fix the .js generated by the video. But there are still other .js files that aren’t being deferred, that don’t have anything to do with the youtube embed. So clearly the option “defer parsing of javascript” in the plugin isn’t working on the site for some reason.
I was wondering if it could be some other settings options interfering?
I’m using the Divi Theme Video module to embed it, so I’m not terribly aware of how specifically it embeds it.
But the problem is, that there are other .js files other than the ones generated by embedding the youtube video that litespeed cache isn’t able to defer. So I figure the problem must be more general.
I still haven’t heard back…
I embedded the youtube video again since we will be doing so in the future even though it won’t be this same exact video. And I figure it may help to have it embedded to solve the issue.
So the GTMetrix score is back to an F.
No worries!
The e-mail title was “GTMetrix say I should defer parsing of javascript but setting is ON”.
The grade changed because because I removed a youtube embed, but in reality the problem still persists, as shown by a .js that is still not being deferred.
Thank you!
I sent it two days ago and I haven’t received a reply? Did I send something wrong?
Ok, I just sent an email with the debug log and a link to this post.
Where should I send it? Should I just post it here?