{"action":"created","issue":{"url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/98","repository_url":"https://api.github.com/repos/podlove/podlove-subscribe-button","labels_url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/98/comments","events_url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/98/events","html_url":"https://github.com/podlove/podlove-subscribe-button/issues/98","id":151817057,"number":98,"title":"Performance issue: app.js is loaded twice","user":{"login":"eteubert","id":235918,"avatar_url":"https://avatars.githubusercontent.com/u/235918?v=3","gravatar_id":"","url":"https://api.github.com/users/eteubert","html_url":"https://github.com/eteubert","followers_url":"https://api.github.com/users/eteubert/followers","following_url":"https://api.github.com/users/eteubert/following{/other_user}","gists_url":"https://api.github.com/users/eteubert/gists{/gist_id}","starred_url":"https://api.github.com/users/eteubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteubert/subscriptions","organizations_url":"https://api.github.com/users/eteubert/orgs","repos_url":"https://api.github.com/users/eteubert/repos","events_url":"https://api.github.com/users/eteubert/events{/privacy}","received_events_url":"https://api.github.com/users/eteubert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T08:26:46Z","updated_at":"2016-05-06T19:20:34Z","closed_at":"2016-05-06T19:20:34Z","body":"app.js is loaded twice per page load: once on the site embedding the button, and once from inside the frame. Caching seems to not apply here (only on subsequent requests), probably because the iframe URL is different from the embedding URL?\r\n\r\nNot sure if anything can be done about this but it's worth bringing it up at least.\r\n\r\n<img width=\"872\" alt=\"cre211_ziviler_luftverkehr___cre__technik__kultur__gesellschaft\" src=\"https://cloud.githubusercontent.com/assets/235918/14911252/7cdb0be4-0df4-11e6-8f7f-a0eadd295ddf.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/comments/217535405","html_url":"https://github.com/podlove/podlove-subscribe-button/issues/98#issuecomment-217535405","issue_url":"https://api.github.com/repos/podlove/podlove-subscribe-button/issues/98","id":217535405,"user":{"login":"benzimmer","id":164417,"avatar_url":"https://avatars.githubusercontent.com/u/164417?v=3","gravatar_id":"","url":"https://api.github.com/users/benzimmer","html_url":"https://github.com/benzimmer","followers_url":"https://api.github.com/users/benzimmer/followers","following_url":"https://api.github.com/users/benzimmer/following{/other_user}","gists_url":"https://api.github.com/users/benzimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/benzimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzimmer/subscriptions","organizations_url":"https://api.github.com/users/benzimmer/orgs","repos_url":"https://api.github.com/users/benzimmer/repos","events_url":"https://api.github.com/users/benzimmer/events{/privacy}","received_events_url":"https://api.github.com/users/benzimmer/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:20:34Z","updated_at":"2016-05-06T19:20:34Z","body":"This only happens on the first load and the file is 271B \"large\", so I think it's OK here. I will enable http2 for the CDN server soon, then you don't even have the overhead of initiating the second request."}}