Hacker News new | past | comments | ask | show | jobs | submit login

Unfortunately Lambda falls apart a bit when you want to do any on-request HTML generation.

You're also kind of stuck with hash URLs if you want to link to anything in your app.

If you've got a truly single page app hitting an API, or you can generate pages and upload them to S3, you're golden.

But there isn't currently a way of having Lambda serve up dynamically generated HTML pages without some funny business.

I'm sure this will change in the future, but it's stopped me from using it for now.




API gateway takes a bit to set up, and there are silly limits on error responses etc still, but returning a html page is very easy. Check out the web HTML example project for Claudia https://github.com/claudiajs/example-projects/blob/master/we...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: