{"action":"created","issue":{"url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/152","repository_url":"https://api.github.com/repos/Financial-Times/next-beacon-v2","labels_url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/152/comments","events_url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/152/events","html_url":"https://github.com/Financial-Times/next-beacon-v2/issues/152","id":141901201,"number":152,"title":"Split out keen proxy","user":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-18T15:39:49Z","updated_at":"2016-03-19T19:17:52Z","closed_at":null,"body":"Because\r\n- It slows down loading of beacon pages\r\n- S3O is not required for it, so it's an overhead\r\n- The email team may like to use our cached proxy too\r\n\r\nLet's take the keen proxy out into its own app and add some neat features\r\n- handle POST?\r\n- allow for a ttl header to manually set the cache headers\r\n\r\nWe can also start slow polling this proxy to prehydrate the cache and avoid hitting our keen concurrency limits"},"comment":{"url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/comments/198772753","html_url":"https://github.com/Financial-Times/next-beacon-v2/issues/152#issuecomment-198772753","issue_url":"https://api.github.com/repos/Financial-Times/next-beacon-v2/issues/152","id":198772753,"user":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T19:17:52Z","updated_at":"2016-03-19T19:17:52Z","body":"This is so we can add a caching layer for performance. We already do this,\nbut want to split out so email team can share in the performance boost and\nto avoid the keen proxy impacting response times for html pages served by\nbeacon (which it seems to be doing)\n\nOn Saturday, 19 March 2016, Matt Andrews <notifications@github.com> wrote:\n\n> api.keen.io serves * CORS headers so you might be able to point dreckly\n> to that from the front end.\n>\n> —\n> You are receiving this because you were assigned.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Financial-Times/next-beacon-v2/issues/152#issuecomment-198706005>\n>\n\n-- \n\n------------------------------\n\n*This email was sent by a company owned by Financial Times Group Limited \n(\"FT Group <http://aboutus.ft.com/corporate-information/#axzz3rajCSIAt>\"), \nregistered office at Number One Southwark Bridge, London SE1 9HL.  \nRegistered in England and Wales with company number 879531. This e-mail may \ncontain confidential information. If you are not the intended recipient, \nplease notify the sender immediately, delete all copies and do not \ndistribute it further.  It could also contain personal views which are not \nnecessarily those of the FT Group.  We may monitor outgoing or \nincoming emails as permitted by law.*\n"}}