{"id":17358,"date":"2019-07-17T11:14:59","date_gmt":"2019-07-17T15:14:59","guid":{"rendered":"https:\/\/www.boldgrid.com\/support\/?p=17358"},"modified":"2020-03-12T14:39:20","modified_gmt":"2020-03-12T18:39:20","slug":"how-to-load-third-party-javascript-asynchronously","status":"publish","type":"post","link":"https:\/\/www.boldgrid.com\/support\/boldgrid-speed-coach-product-guide\/how-to-load-third-party-javascript-asynchronously\/","title":{"rendered":"How to Load Third-Party JavaScript Asynchronously"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<?xml encoding=\"utf-8\" ?><html><body><p><span style=\"font-weight: 400;\">Web browsers will often attempt to load any requested JavaScript files before they actually start to render the web page content, which can lead to long wait times before users can interact with a website. JavaScript files are generally not needed to start rendering web pages and delaying their retrieval can help improve the overall user experience.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">JavaScript files can be marked with the async and defer tags to tell the web browser to hold off on downloading the JavaScript files until after more important files and information have finished loading.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">WordPress websites can use plugins to make included JavaScript files load asynchronously without requiring any manual administration. Speed Coach also will identify instances of synchronously loading JavaScript files in case there are plugins or files that are slowing down website loading performance and need to be addressed.<\/span><\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Web browsers will often attempt to load any requested JavaScript files before they actually start to render the web page content, which can lead to long wait times before users can interact with a website. JavaScript files are generally not needed to start rendering web pages and delaying their retrieval can help improve the overall [&hellip;]<\/p>\n","protected":false},"author":1071,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[651],"tags":[667],"class_list":["post-17358","post","type-post","status-publish","format-standard","hentry","category-boldgrid-speed-coach-product-guide","tag-performance","feature-type-free"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/17358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/users\/1071"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/comments?post=17358"}],"version-history":[{"count":2,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/17358\/revisions"}],"predecessor-version":[{"id":17679,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/posts\/17358\/revisions\/17679"}],"wp:attachment":[{"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/media?parent=17358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/categories?post=17358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boldgrid.com\/support\/wp-json\/wp\/v2\/tags?post=17358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}