{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/2380","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/2380/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/2380/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/2380/events","html_url":"https://github.com/ampproject/amphtml/issues/2380","id":137919769,"number":2380,"title":"Cloudflare (and maybe other) CDN breaking AMP pages","user":{"login":"weeblr","id":5846185,"avatar_url":"https://avatars.githubusercontent.com/u/5846185?v=3","gravatar_id":"","url":"https://api.github.com/users/weeblr","html_url":"https://github.com/weeblr","followers_url":"https://api.github.com/users/weeblr/followers","following_url":"https://api.github.com/users/weeblr/following{/other_user}","gists_url":"https://api.github.com/users/weeblr/gists{/gist_id}","starred_url":"https://api.github.com/users/weeblr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weeblr/subscriptions","organizations_url":"https://api.github.com/users/weeblr/orgs","repos_url":"https://api.github.com/users/weeblr/repos","events_url":"https://api.github.com/users/weeblr/events{/privacy}","received_events_url":"https://api.github.com/users/weeblr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ampproject/amphtml/labels/3P","name":"3P","color":"006b75"},{"url":"https://api.github.com/repos/ampproject/amphtml/labels/Type:%20Bug","name":"Type: Bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"jmadler","id":435158,"avatar_url":"https://avatars.githubusercontent.com/u/435158?v=3","gravatar_id":"","url":"https://api.github.com/users/jmadler","html_url":"https://github.com/jmadler","followers_url":"https://api.github.com/users/jmadler/followers","following_url":"https://api.github.com/users/jmadler/following{/other_user}","gists_url":"https://api.github.com/users/jmadler/gists{/gist_id}","starred_url":"https://api.github.com/users/jmadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmadler/subscriptions","organizations_url":"https://api.github.com/users/jmadler/orgs","repos_url":"https://api.github.com/users/jmadler/repos","events_url":"https://api.github.com/users/jmadler/events{/privacy}","received_events_url":"https://api.github.com/users/jmadler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ampproject/amphtml/milestones/17","html_url":"https://github.com/ampproject/amphtml/milestones/Sprint:%202016-05-12","labels_url":"https://api.github.com/repos/ampproject/amphtml/milestones/17/labels","id":1710879,"number":17,"title":"Sprint: 2016-05-12","description":"","creator":{"login":"rudygalfi","id":3888212,"avatar_url":"https://avatars.githubusercontent.com/u/3888212?v=3","gravatar_id":"","url":"https://api.github.com/users/rudygalfi","html_url":"https://github.com/rudygalfi","followers_url":"https://api.github.com/users/rudygalfi/followers","following_url":"https://api.github.com/users/rudygalfi/following{/other_user}","gists_url":"https://api.github.com/users/rudygalfi/gists{/gist_id}","starred_url":"https://api.github.com/users/rudygalfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudygalfi/subscriptions","organizations_url":"https://api.github.com/users/rudygalfi/orgs","repos_url":"https://api.github.com/users/rudygalfi/repos","events_url":"https://api.github.com/users/rudygalfi/events{/privacy}","received_events_url":"https://api.github.com/users/rudygalfi/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":9,"state":"open","created_at":"2016-04-15T22:09:57Z","updated_at":"2016-05-06T22:35:55Z","due_on":"2016-05-12T07:00:00Z","closed_at":null},"comments":51,"created_at":"2016-03-02T16:16:32Z","updated_at":"2016-05-09T08:31:56Z","closed_at":null,"body":"Hi,\r\nAfter this discussion, https://productforums.google.com/forum/#!msg/webmasters/_EFTDi1koJo/EAoRom0fIQAJ, Tomo T suggested we open an issue here.\r\n\r\nIt's a known issue (#1662) that Cloudflare (and maybe other) are breaking AMP pages by inserting on the fly some javascript that do not comply with AMP specs.\r\n\r\nTomo T mentioned you guys are in touch with cloudflare, so maybe resolution is on its way, but in our wbAMP plugin for Joomla, we did the following:\r\n1 - added no-cache headers\r\n2 - Added a X-amphtml: wbAMP header, so that users can setup rules to bypass those pages in their CDN control panel for instance.\r\n\r\nIs there any merit to this?\r\n\r\nRgds\r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/217806079","html_url":"https://github.com/ampproject/amphtml/issues/2380#issuecomment-217806079","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/2380","id":217806079,"user":{"login":"RReverser","id":557590,"avatar_url":"https://avatars.githubusercontent.com/u/557590?v=3","gravatar_id":"","url":"https://api.github.com/users/RReverser","html_url":"https://github.com/RReverser","followers_url":"https://api.github.com/users/RReverser/followers","following_url":"https://api.github.com/users/RReverser/following{/other_user}","gists_url":"https://api.github.com/users/RReverser/gists{/gist_id}","starred_url":"https://api.github.com/users/RReverser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RReverser/subscriptions","organizations_url":"https://api.github.com/users/RReverser/orgs","repos_url":"https://api.github.com/users/RReverser/repos","events_url":"https://api.github.com/users/RReverser/events{/privacy}","received_events_url":"https://api.github.com/users/RReverser/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T08:31:56Z","updated_at":"2016-05-09T08:31:56Z","body":"@weeblr Right, thanks!"}}