{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/1870","repository_url":"https://api.github.com/repos/webcompat/webcompat.com","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/1870/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/1870/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/1870/events","html_url":"https://github.com/webcompat/webcompat.com/issues/1870","id":273690728,"node_id":"MDU6SXNzdWUyNzM2OTA3Mjg=","number":1870,"title":"[performance] issue data inside the HTML at first load","user":{"login":"karlcow","id":505230,"node_id":"MDQ6VXNlcjUwNTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"labels":[{"id":573599481,"node_id":"MDU6TGFiZWw1NzM1OTk0ODE=","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/lang:%20HTML","name":"lang: HTML","color":"fef2c0","default":false},{"id":573599290,"node_id":"MDU6TGFiZWw1NzM1OTkyOTA=","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/lang:%20Python","name":"lang: Python","color":"fef2c0","default":false},{"id":345286071,"node_id":"MDU6TGFiZWwzNDUyODYwNzE=","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/scope:%20outreachy","name":"scope: outreachy","color":"c2e0c6","default":false},{"id":521136506,"node_id":"MDU6TGFiZWw1MjExMzY1MDY=","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/status:%20leave%20open","name":"status: leave open","color":"888888","default":false},{"id":403315881,"node_id":"MDU6TGFiZWw0MDMzMTU4ODE=","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/type:%20feature%20request","name":"type: feature request","color":"fbca04","default":false},{"id":86572255,"node_id":"MDU6TGFiZWw4NjU3MjI1NQ==","url":"https://api.github.com/repos/webcompat/webcompat.com/labels/type:%20site-development","name":"type: site-development","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"karlcow","id":505230,"node_id":"MDQ6VXNlcjUwNTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"assignees":[{"login":"karlcow","id":505230,"node_id":"MDQ6VXNlcjUwNTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-11-14T07:18:38Z","updated_at":"2018-12-20T01:31:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Context\r\n\r\nThe page for an issue view is currently an empty HTML template, which is populated through JS calls to webcompat.com API endpoint.\r\n\r\n```html\r\n<title>Issue #1299 | webcompat.com</title>\r\n```\r\n\r\nThe choice was made for not having the impression to wait too much after GitHub by quickly delivering a page to see to the users while the JS is getting the data to populate the html page.\r\n\r\n## Why this issue?\r\n\r\nThis issue is just here to **test some options** on making the code less dependent on JS for issues data and see if we can deliver right away the data to users. It might not results in any improvements for the code itself, but it will help determine if we made the right choices in terms of perceived performance for the user.\r\n\r\nBenefits: \r\n* Caching/index-ability\r\n* Full titles\r\n* meta allowing cards\r\n* parseable HTML through cli.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/448825525","html_url":"https://github.com/webcompat/webcompat.com/issues/1870#issuecomment-448825525","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/1870","id":448825525,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODgyNTUyNQ==","user":{"login":"karlcow","id":505230,"node_id":"MDQ6VXNlcjUwNTIzMA==","avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T01:31:58Z","updated_at":"2018-12-20T01:31:58Z","author_association":"CONTRIBUTOR","body":"@marimeireles Let's revive this.\r\nSo here it would be interesting to understand for an issue page for example [15787](https://github.com/webcompat/web-bugs/issues/15787).\r\n\r\nHow does it perform \r\n\r\n1. in the current model?\r\n2. with all the issue data added on the server-side through python (no JS client to fetch the JSON).\r\n\r\nIs it faster?\r\nIs it a minor difference?\r\n\r\n[perf-html](https://perf-html.io/) should help assessing this too. Specifically now that they have the [screenshot view](https://perfht.ml/2EvjdFL). "}}
{"actor":{"display_login":"karlcow"}}