Ask HN: Serving rendered html and static content vs. building APIs Just a quick newbie question. When I was learning flask/django I was taught to use certain python packages to render the html first on the server and then serve it. As I learned more and more technologies on the front end, I realized that letting frameworks render and serve web pages is kind of inefficient (that's why we have nginx and apache, right?) So is it wiser to just build APIs on the framework end and have the static content served separately or have everything come from the framework? |