{"id":4919,"date":"2022-02-13T19:31:54","date_gmt":"2022-02-13T19:31:54","guid":{"rendered":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/?p=4919"},"modified":"2022-04-11T22:02:19","modified_gmt":"2022-04-11T22:02:19","slug":"asynchronous-scripts","status":"publish","type":"post","link":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/2022\/02\/13\/asynchronous-scripts\/","title":{"rendered":"Asynchronous Scripts"},"content":{"rendered":"\n

There are many resources in your site and not whole resources in need all the time<\/strong>. By using this asynchronous settings<\/strong>, improve the performance and speed.<\/p>\n\n\n\n

Asynchronous load<\/h4>\n\n\n\n

Some javascript libraries<\/strong> does not affect first paint. And you can increase page loading speed by loading them asynchronously<\/strong> and it will improve performance.<\/p>\n\n\n\n

Split tasks<\/h4>\n\n\n\n

Long time tasks<\/strong> may cause unintentional rendering suspension or affect to its performance. To make pages faster, please check split task option<\/strong>.<\/p>\n\n\n\n

Only necessary JS at loading<\/h4>\n\n\n\n

While page is loaded, there exists a lot of unnecessary javascripts<\/strong> running during initialization. If they works in idle time and only necessary ones runs while loading time, page speed will be faster.<\/p>\n\n\n\n

Process after load event<\/h4>\n\n\n\n

This will accelerate page\u2019s\u00a0load time<\/strong>. But this may cause compatibility issue since page still not be ready. It will be in\u00a0ready state<\/strong>\u00a0after document or window load event is ready. To fix this problem, Please add event handlers to window\u2019s \u201calpha_complete\u201d event.<\/p>\n\n\n\n

\"\"<\/figure>\n","protected":false},"excerpt":{"rendered":"

There are many resources in your site and not whole resources in need all the time. By using this asynchronous settings, improve the performance and speed. Asynchronous load Some javascript libraries does not affect first paint. And you can increase page loading speed by loading them asynchronously and it will improve performance. Split tasks Long time tasks may cause unintentional rendering suspension […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[35],"tags":[],"class_list":["post-4919","post","type-post","status-publish","format-standard","hentry","category-performance"],"_links":{"self":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/comments?post=4919"}],"version-history":[{"count":2,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4919\/revisions"}],"predecessor-version":[{"id":5383,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/4919\/revisions\/5383"}],"wp:attachment":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/media?parent=4919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/categories?post=4919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/tags?post=4919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}