{"action":"closed","number":1921,"pull_request":{"url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921","id":110663461,"html_url":"https://github.com/h5bp/html5-boilerplate/pull/1921","diff_url":"https://github.com/h5bp/html5-boilerplate/pull/1921.diff","patch_url":"https://github.com/h5bp/html5-boilerplate/pull/1921.patch","issue_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921","number":1921,"state":"closed","locked":false,"title":"feat(performance): optimize pagespeed","user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars2.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"body":"Optimize performance by leveraging the Fetch API and inlining critical path CSS. Also puts the Google Async script into the head of the document (because it's async).\r\n\r\nRundown of the changes:\r\n\r\n- Use Fetch API for async dependency management (via [fetch-inject](https://www.npmjs.com/package/fetch-inject))\r\n- Use feature detection to provide backwards compatibility\r\n- Split main CSS file into critical and non-critical files\r\n- Inline @necolas et. al CSS along with main in document head\r\n- Remove SubResource integrity checking (nothing stops a hacker)\r\n\r\nPageSpeed scores over LTE served with SimpleHTTPServer and Ngrok:\r\n\r\n- Before (with Fetch support): Mobile (80) Desktop (89)\r\n- After (with Fetch support): Mobile (88) Desktop (96)\r\n- Before (without Fetch): UNKNOWN\r\n- After (without Fetch): UNKNOWN","created_at":"2017-03-14T16:34:32Z","updated_at":"2017-03-17T11:50:23Z","closed_at":"2017-03-17T11:50:23Z","merged_at":null,"merge_commit_sha":"7d6bbab5bff24a4e114217a86b2b06a787b96da3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921/commits","review_comments_url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921/comments","review_comment_url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921/comments","statuses_url":"https://api.github.com/repos/h5bp/html5-boilerplate/statuses/d6914efb9484eade3aea85d837c4b2a28dcf4b8a","head":{"label":"jhabdas:optimize-performance","ref":"optimize-performance","sha":"d6914efb9484eade3aea85d837c4b2a28dcf4b8a","user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars2.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"repo":{"id":84970307,"name":"html5-boilerplate","full_name":"jhabdas/html5-boilerplate","owner":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars2.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhabdas/html5-boilerplate","description":"A professional front-end template for building fast, robust, and adaptable web apps or sites.","fork":true,"url":"https://api.github.com/repos/jhabdas/html5-boilerplate","forks_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/forks","keys_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/teams","hooks_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/events","assignees_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/tags","blobs_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/languages","stargazers_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/subscription","commits_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/merges","archive_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/downloads","issues_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/jhabdas/html5-boilerplate/deployments","created_at":"2017-03-14T16:12:55Z","updated_at":"2017-03-14T16:13:00Z","pushed_at":"2017-03-14T16:43:24Z","git_url":"git://github.com/jhabdas/html5-boilerplate.git","ssh_url":"git@github.com:jhabdas/html5-boilerplate.git","clone_url":"https://github.com/jhabdas/html5-boilerplate.git","svn_url":"https://github.com/jhabdas/html5-boilerplate","homepage":"https://html5boilerplate.com/","size":13454,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"h5bp:master","ref":"master","sha":"abc64efcb71847049620bf8ae78f3cd5ce26bf5e","user":{"login":"h5bp","id":1136800,"avatar_url":"https://avatars3.githubusercontent.com/u/1136800?v=3","gravatar_id":"","url":"https://api.github.com/users/h5bp","html_url":"https://github.com/h5bp","followers_url":"https://api.github.com/users/h5bp/followers","following_url":"https://api.github.com/users/h5bp/following{/other_user}","gists_url":"https://api.github.com/users/h5bp/gists{/gist_id}","starred_url":"https://api.github.com/users/h5bp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5bp/subscriptions","organizations_url":"https://api.github.com/users/h5bp/orgs","repos_url":"https://api.github.com/users/h5bp/repos","events_url":"https://api.github.com/users/h5bp/events{/privacy}","received_events_url":"https://api.github.com/users/h5bp/received_events","type":"Organization","site_admin":false},"repo":{"id":486550,"name":"html5-boilerplate","full_name":"h5bp/html5-boilerplate","owner":{"login":"h5bp","id":1136800,"avatar_url":"https://avatars3.githubusercontent.com/u/1136800?v=3","gravatar_id":"","url":"https://api.github.com/users/h5bp","html_url":"https://github.com/h5bp","followers_url":"https://api.github.com/users/h5bp/followers","following_url":"https://api.github.com/users/h5bp/following{/other_user}","gists_url":"https://api.github.com/users/h5bp/gists{/gist_id}","starred_url":"https://api.github.com/users/h5bp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5bp/subscriptions","organizations_url":"https://api.github.com/users/h5bp/orgs","repos_url":"https://api.github.com/users/h5bp/repos","events_url":"https://api.github.com/users/h5bp/events{/privacy}","received_events_url":"https://api.github.com/users/h5bp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h5bp/html5-boilerplate","description":"A professional front-end template for building fast, robust, and adaptable web apps or sites.","fork":false,"url":"https://api.github.com/repos/h5bp/html5-boilerplate","forks_url":"https://api.github.com/repos/h5bp/html5-boilerplate/forks","keys_url":"https://api.github.com/repos/h5bp/html5-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h5bp/html5-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h5bp/html5-boilerplate/teams","hooks_url":"https://api.github.com/repos/h5bp/html5-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/h5bp/html5-boilerplate/events","assignees_url":"https://api.github.com/repos/h5bp/html5-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/h5bp/html5-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/h5bp/html5-boilerplate/tags","blobs_url":"https://api.github.com/repos/h5bp/html5-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h5bp/html5-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h5bp/html5-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/h5bp/html5-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h5bp/html5-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/h5bp/html5-boilerplate/languages","stargazers_url":"https://api.github.com/repos/h5bp/html5-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/h5bp/html5-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/h5bp/html5-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/h5bp/html5-boilerplate/subscription","commits_url":"https://api.github.com/repos/h5bp/html5-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/h5bp/html5-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/h5bp/html5-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/h5bp/html5-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/h5bp/html5-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h5bp/html5-boilerplate/merges","archive_url":"https://api.github.com/repos/h5bp/html5-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h5bp/html5-boilerplate/downloads","issues_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/h5bp/html5-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/h5bp/html5-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h5bp/html5-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/h5bp/html5-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/h5bp/html5-boilerplate/deployments","created_at":"2010-01-24T18:03:24Z","updated_at":"2017-03-17T09:06:00Z","pushed_at":"2017-03-14T16:43:27Z","git_url":"git://github.com/h5bp/html5-boilerplate.git","ssh_url":"git@github.com:h5bp/html5-boilerplate.git","clone_url":"https://github.com/h5bp/html5-boilerplate.git","svn_url":"https://github.com/h5bp/html5-boilerplate","homepage":"https://html5boilerplate.com/","size":13451,"stargazers_count":36837,"watchers_count":36837,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9111,"mirror_url":null,"open_issues_count":25,"forks":9111,"open_issues":25,"watchers":36837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921"},"html":{"href":"https://github.com/h5bp/html5-boilerplate/pull/1921"},"issue":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921"},"comments":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921/comments"},"review_comments":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921/comments"},"review_comment":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921/commits"},"statuses":{"href":"https://api.github.com/repos/h5bp/html5-boilerplate/statuses/d6914efb9484eade3aea85d837c4b2a28dcf4b8a"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":59,"deletions":32,"changed_files":5}}
{"actor":{"display_login":"jhabdas"}}