{"id":78,"date":"2013-01-23T14:28:37","date_gmt":"2013-01-23T14:28:37","guid":{"rendered":"http:\/\/www.javascripttutorials.net\/?p=78"},"modified":"2020-05-04T23:29:44","modified_gmt":"2020-05-04T21:29:44","slug":"how-to-make-javascript-widgets-scream","status":"publish","type":"post","link":"https:\/\/www.javascripttutorials.net\/how-to-make-javascript-widgets-scream\/","title":{"rendered":"How to Make JavaScript Widgets Scream"},"content":{"rendered":"<p>When loading websites every millisecond counts. Social widgets should enhance a website experience and they should definitely not slow it down. We&#8217;ll walk through the unique challenges of loading social widgets such as the +1 button and how we made sure that they load as fast as possible &#8212; yes, there will be war stories! While we&#8217;ll focus on widget performance, many of the techniques we used have wider applicability and we&#8217;ll show how they can make your website faster too.<!--more--><\/p>\n<p><iframe loading=\"lazy\" title=\"Google I\/O 2012 - How we Make JavaScript Widgets Scream\" width=\"730\" height=\"411\" src=\"https:\/\/www.youtube.com\/embed\/4rlbTVkyJc4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When loading websites every millisecond counts. Social widgets should enhance a website experience and they should definitely not slow it down. We&#8217;ll walk through the unique challenges of loading social widgets such as the +1 button and how we made sure that they load as fast as possible &#8212; yes, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":285,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[19],"class_list":["post-78","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-performance"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media\/285"}],"wp:attachment":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}