defer 3rd party scripts
-
Hi Folks,
Our site uses some 3rd party JavaScript files which may not be enqueued using proper methods.
GT Metrix shows the following scripts are not deferred by LiteSpeed Cache (JS Defer is on for all other scripts):
https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js https://forms.ontraport.com/v2.4/include/minify/?g=genjs-v3 https://www.insightwebsites.net.au/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js https://app.ontraport.com/js/libs/materialize/dist/js/materializev2.min.js https://optassets.ontraport.com/opt_assets/libraries/opt_date_time_picker/dist/opt_date_time_picker_lib.js https://optassets.ontraport.com/opt_assets/blocks/common/jQueryPageBackgroundPro/js/libs/underscore.js https://app.ontraport.com/js/globalize/globalize.js https://optassets.ontraport.com/opt_assets/blocks/common/jQueryCloneVal/jquery-cloneVal.js
One of the ontraport.com scripts in particular is loaded using <script> tags in the footer.
Is there a way we can defer these 3rd party scripts?
Thanks,
Steve
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘defer 3rd party scripts’ is closed to new replies.