This is the whole point of JavaScript frameworks to me. And definitely not trivial stuff.
This is the whole point of JavaScript frameworks to me. And definitely not trivial stuff.
What does it matter if your front endpoint is on S3 or being served by your own web server? Delivering static assets isn't that hard and you don't solve a lot by hosting the front end point of your app on S3.
Your bottleneck is way more likely to be your API long before static asset serving is a problem.
HTML, CSS, JS, and media are all static assets but you're welcome to request whatever datatypes you want behind the scenes via AJAX and/or CORs.
The benefits are entirely in the rendering speeds of an optimized web server and cache layer. Also, this approach plays extremely nicely with CDNs.
Difficulties can arise if you have to begin dealing with versioning of your assets to avoid cache invalidation, but that's what a proper build process can add to the static site.