{"id":19003469,"date":"2026-08-26T11:11:38","date_gmt":"2026-08-26T11:11:38","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/compatibility-with-javascript-delaying-option-in-easy-optimizer\/"},"modified":"2026-08-26T11:11:38","modified_gmt":"2026-08-26T11:11:38","slug":"compatibility-with-javascript-delaying-option-in-easy-optimizer","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/compatibility-with-javascript-delaying-option-in-easy-optimizer\/","title":{"rendered":"Compatibility with javascript delaying option in Easy Optimizer"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello. I am running Tutor LMS on a site with Woocommerce and the <a href=\"https:\/\/wordpress.org\/plugins\/easy-optimizer\">Easy Optimizer plugin<\/a>. In Easy Optimizer I enabled Javascript delaying with the Defer (native browser) method so as to maximize compatibility.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However one issue that showed up is that with a course that had a video embed, the loading spinner showed up and never went away. The video embed loaded behind the spinner but the spinner itself was broken. I know this is a problem with the optimization and I have posted to their support forums, however I would like to report this here as well since I guess it&#8217;s common for people to use optimization plugins and I know that optimizations should be tested thoroughly, but I found it odd that this specific situation happened. I may be wrong but I am under the impression that Tutor LMS would at least be somewhat compatible with some optimization techniques.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I tried adding the course pages to Easy Optimizer&#8217;s exclusion settings but that didn&#8217;t work, so I reported this to them as well. Still, I feel this spinner thing may be a bug in Tutor, as everything else on the site works just fine with javascript delayed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And again: I set it up to delay via browser methods and *not* to delay until first interaction (as I am aware this would actually break too many other things, including the spinner).<\/p>\n","protected":false},"template":"","class_list":["post-19003469","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19003469\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19003469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}