{"action":"created","issue":{"url":"https://api.github.com/repos/este/este/issues/499","labels_url":"https://api.github.com/repos/este/este/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/este/este/issues/499/comments","events_url":"https://api.github.com/repos/este/este/issues/499/events","html_url":"https://github.com/este/este/issues/499","id":108215638,"number":499,"title":"pre-render pages as unauthenticated at build instead of server side render","user":{"login":"rkoberg","id":83722,"avatar_url":"https://avatars.githubusercontent.com/u/83722?v=3","gravatar_id":"","url":"https://api.github.com/users/rkoberg","html_url":"https://github.com/rkoberg","followers_url":"https://api.github.com/users/rkoberg/followers","following_url":"https://api.github.com/users/rkoberg/following{/other_user}","gists_url":"https://api.github.com/users/rkoberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rkoberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkoberg/subscriptions","organizations_url":"https://api.github.com/users/rkoberg/orgs","repos_url":"https://api.github.com/users/rkoberg/repos","events_url":"https://api.github.com/users/rkoberg/events{/privacy}","received_events_url":"https://api.github.com/users/rkoberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T21:14:50Z","updated_at":"2015-09-24T22:39:17Z","closed_at":null,"body":"The idea would be to do away with a need for an app server (at least as an option), and put the built app on an AWS S3 or similar. \r\n\r\nWhat do you think?\r\n\r\nRational/Use case: With services like Cognito , API Gateway + Lambda http://thenewstack.io/five-reasons-to-consider-amazon-api-gateway-for-your-next-microservices-project/ -- the only reason for paying for the app server would be to render pages that could be pre-rendered static. If the user's session is still active on load (authentication handled through lambda functions), then load the extra data on the client -- most of the page will be there. And you could swap out to loaders or something while the initial request. A lambda (or the like) function could be triggered when some \"update page(s)\" event occurs where it regenerates the page(s) and pushes changed pages to the S3. Bad thing currently about lambda is that they only support node version 0.10.36...\r\n\r\nHere is a lambda auth system:\r\nhttps://github.com/danilop/LambdAuth\r\n\"A sample authentication service implemented with a server-less architecture, using AWS Lambda to host and execute the code and Amazon DynamoDB as persistent storage. This provides a cost-efficient solution that is scalable and highly available and can be used with Amazon Cognito for Developer Authenticated Identities.\""},"comment":{"url":"https://api.github.com/repos/este/este/issues/comments/143068118","html_url":"https://github.com/este/este/issues/499#issuecomment-143068118","issue_url":"https://api.github.com/repos/este/este/issues/499","id":143068118,"user":{"login":"steida","id":66249,"avatar_url":"https://avatars.githubusercontent.com/u/66249?v=3","gravatar_id":"","url":"https://api.github.com/users/steida","html_url":"https://github.com/steida","followers_url":"https://api.github.com/users/steida/followers","following_url":"https://api.github.com/users/steida/following{/other_user}","gists_url":"https://api.github.com/users/steida/gists{/gist_id}","starred_url":"https://api.github.com/users/steida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steida/subscriptions","organizations_url":"https://api.github.com/users/steida/orgs","repos_url":"https://api.github.com/users/steida/repos","events_url":"https://api.github.com/users/steida/events{/privacy}","received_events_url":"https://api.github.com/users/steida/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T22:39:16Z","updated_at":"2015-09-24T22:39:16Z","body":"Yeah, prebuild definitely makes sense."}}