{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2388","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2388/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2388/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2388/events","html_url":"https://github.com/ampproject/amphtml/pull/2388","id":137963554,"number":2388,"title":"WIP: Allow using preloading over prefetching.","user":{"login":"mkhatib","id":2647,"avatar_url":"https://avatars.githubusercontent.com/u/2647?v=3","gravatar_id":"","url":"https://api.github.com/users/mkhatib","html_url":"https://github.com/mkhatib","followers_url":"https://api.github.com/users/mkhatib/followers","following_url":"https://api.github.com/users/mkhatib/following{/other_user}","gists_url":"https://api.github.com/users/mkhatib/gists{/gist_id}","starred_url":"https://api.github.com/users/mkhatib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkhatib/subscriptions","organizations_url":"https://api.github.com/users/mkhatib/orgs","repos_url":"https://api.github.com/users/mkhatib/repos","events_url":"https://api.github.com/users/mkhatib/events{/privacy}","received_events_url":"https://api.github.com/users/mkhatib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cramforce","id":89679,"avatar_url":"https://avatars.githubusercontent.com/u/89679?v=3","gravatar_id":"","url":"https://api.github.com/users/cramforce","html_url":"https://github.com/cramforce","followers_url":"https://api.github.com/users/cramforce/followers","following_url":"https://api.github.com/users/cramforce/following{/other_user}","gists_url":"https://api.github.com/users/cramforce/gists{/gist_id}","starred_url":"https://api.github.com/users/cramforce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cramforce/subscriptions","organizations_url":"https://api.github.com/users/cramforce/orgs","repos_url":"https://api.github.com/users/cramforce/repos","events_url":"https://api.github.com/users/cramforce/events{/privacy}","received_events_url":"https://api.github.com/users/cramforce/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-02T19:10:16Z","updated_at":"2016-03-04T22:24:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/2388","html_url":"https://github.com/ampproject/amphtml/pull/2388","diff_url":"https://github.com/ampproject/amphtml/pull/2388.diff","patch_url":"https://github.com/ampproject/amphtml/pull/2388.patch"},"body":"Would something like this work? Or should we have two separate methods for prefetch and preload? The similarities between both kinda begs for one method.\r\n\r\nAddresses #2372"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/192498241","html_url":"https://github.com/ampproject/amphtml/pull/2388#issuecomment-192498241","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/2388","id":192498241,"user":{"login":"mkhatib","id":2647,"avatar_url":"https://avatars.githubusercontent.com/u/2647?v=3","gravatar_id":"","url":"https://api.github.com/users/mkhatib","html_url":"https://github.com/mkhatib","followers_url":"https://api.github.com/users/mkhatib/followers","following_url":"https://api.github.com/users/mkhatib/following{/other_user}","gists_url":"https://api.github.com/users/mkhatib/gists{/gist_id}","starred_url":"https://api.github.com/users/mkhatib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkhatib/subscriptions","organizations_url":"https://api.github.com/users/mkhatib/orgs","repos_url":"https://api.github.com/users/mkhatib/repos","events_url":"https://api.github.com/users/mkhatib/events{/privacy}","received_events_url":"https://api.github.com/users/mkhatib/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T22:24:37Z","updated_at":"2016-03-04T22:24:37Z","body":"PTAL. Added tests and updated usage to pass the `as` attribute for all prefetches."}}