{"action":"created","issue":{"url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921","repository_url":"https://api.github.com/repos/h5bp/html5-boilerplate","labels_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921/labels{/name}","comments_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921/comments","events_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921/events","html_url":"https://github.com/h5bp/html5-boilerplate/pull/1921","id":214131372,"number":1921,"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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-03-14T16:34:32Z","updated_at":"2017-03-17T11:50:23Z","closed_at":"2017-03-17T11:50:23Z","pull_request":{"url":"https://api.github.com/repos/h5bp/html5-boilerplate/pulls/1921","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"},"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"},"comment":{"url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/comments/287334874","html_url":"https://github.com/h5bp/html5-boilerplate/pull/1921#issuecomment-287334874","issue_url":"https://api.github.com/repos/h5bp/html5-boilerplate/issues/1921","id":287334874,"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},"created_at":"2017-03-17T11:50:23Z","updated_at":"2017-03-17T11:50:23Z","body":"Thanks for looking."}}
{"actor":{"display_login":"jhabdas"}}