Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Load Js deferred breaks only ONE page

$
0
0

Replies: 1

As everyone else, trying to improved my GTmetrix score which shows a need to defer parsing of JavaScript. When I turn on the Load JS Deferred button (regardless of Exclude Jquery setting) I cannot load one menu page of my site. Everything else appears to work fine.

So, I went to that page (with Load JS Deferred off) and tediously copied all of the js scripts for that page. They look like this (only a few):

https://mdavis.photos/wp-content/themes/kreativa/js/tilt.query.js
https://mdavis.photos/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
https://mdavis.photos/wp-content/litespeed/cssjs/02bce.js

Now, I put all of these into the tuned settings JS Deferred Excludes.
Now turn on Load JS deferred
Still can’t play that one single page.

The Recommendation from GTmetrix only shows 5 offending scripts that are parsed during initial page load for a total of 476.6Kib of JavaScript.
Things like:
https://mdavis.photos/wp-content/litespeed/cssjs/e4487.js

Any thoughts what might be going on here?


Viewing all articles
Browse latest Browse all 59525

Trending Articles